BotFramework-Emulator icon indicating copy to clipboard operation
BotFramework-Emulator copied to clipboard

Bot Emulator 4.0.15-alpha Service Error

Open thomashahn623 opened this issue 8 years ago • 5 comments

After updating all NuGet packages in the emulator I get the following result:

POST 400 directline.postActivity { "error": { "code": "ServiceError", "message": "Only HTTP(S) protocols are supported" } }

What am I doing wrong here?

thomashahn623 avatar Jun 26 '18 12:06 thomashahn623

Issue was using the alpha preview of the emulator. In last release version 3.5.36 I don't have this issue

thomashahn623 avatar Jun 26 '18 13:06 thomashahn623

Can you provide the URL that you were using to connect to your bot in the Emulators?

stevengum avatar Jun 27 '18 15:06 stevengum

It was a localhost address because i was debugging locally. It went straight to the messages controller

thomashahn623 avatar Jun 27 '18 16:06 thomashahn623

Same here. Try to connect to http://localhost:3978/api/messages and see this red line in log: 'Only HTTP(S) protocols are supported'. It didn't fire up a connection at all.

The other bad thing about Emulator v4.0.15-a is it won't connect to localhost without fiddler if you are behind a corporate proxy. I believe this was broken since v3.5.29 (#187) and amazingly still hasn't been fixed.

longsoft-dev avatar Jun 28 '18 23:06 longsoft-dev

closing due to inactivity. if you still have this issue, if you can help us with repo steps and reopen the bug we'll engage on it.

sgellock avatar Sep 14 '18 22:09 sgellock