Botframework-sdk: System.Net.Http.HttpRequestException: An error occurred while sending the request

Created on 18 Oct 2016  路  3Comments  路  Source: microsoft/botframework-sdk

I have made a basic bot. Earlier it was working when I had the following as my BOT URL
https://localhost:3979/api/messages . However now it is throwing me an error.

The stack trace can be found in the attached image below.

issue

Now the following error gets resolved when you use the link, however I get 401 Unauthorized error.
http://localhost:3979/api/messages as your BOT URL.

Ultimately I want the BOT to be hosted on Azure and therefore would require https.
Any fix to the above issue?

help wanted

Most helpful comment

What is the solution guys

All 3 comments

I would restart the emulator.

What is the solution guys

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daveta picture daveta  路  3Comments

RaoVenka picture RaoVenka  路  3Comments

vaditya04 picture vaditya04  路  3Comments

stijnherreman picture stijnherreman  路  3Comments

sebsylvester picture sebsylvester  路  3Comments