question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to connect using Bot Framework Channel Emulator

See original GitHub issue

I’m created a new bot using Azure Bot Services. I am trying to connect to it using the Bot Framework Channel Emulator.

I am consistently getting this error

-> POST 401 [conversationUpdate] [11:03:09] Error: The bot's MSA appId or passsword is incorrect.

The MSA AppId on both the emulator and the environment settings on the app are the same. I verified that. I have tried creating a new bot but I am getting the same problem.

I have tried the troubleshooting guide to set the appID and password to null and to remove the appID and password values from the emulator connection. I am getting the same error.

If I try to replace the endpoint with: http://localhost:3978/api/messages I get -> POST connect ECONNREFUSED 127.0.0.1:3978

Is this a problem with my configuration settings or something else. I am running on OSX 10.10.5.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Amrit2commented, Jun 20, 2017

Hi Eanders, it’s 8080. When I run the code it takes me to http://127.0.0.1:8080/api/messages (p.s. incase it makes a difference, I’m using mac)

1reaction
priyankasrivascommented, Apr 19, 2017

changing port number for iis express locally solved the same issue for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to connect using Bot Framework Channel Emulator #111
I'm created a new bot using Azure Bot Services. I am trying to connect to it using the Bot Framework Channel Emulator.
Read more >
Bot framework emulator not working - Stack Overflow
Configure or link the emulator with ngrok. (Though it is not required when running locally but it may resolve if the emulator is...
Read more >
Troubleshooting Bot Framework Authentication - Bot Service
Connect to your bot using the Emulator. Type http://localhost:port-number/api/messages into the Emulator's address bar, where port-number ...
Read more >
Known issues - Microsoft Open Source
If you are using a C# bot and Bot Framework Emulator, you will see a trace when these kind of exceptions are caught...
Read more >
Microsoft Bot Framework
Use comprehensive open source SDK and tools to easily connect your bot to popular channels and devices. Give your bot the ability to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found