Cannot send messages using Microsoft Bot Emulator
Version 3.5.29
The emulator at first is supposed to return a response with the number of characters of a user input string. However even after using the default endpoint url which is http://localhost:3979/api/messages, whenever inputting a string, the message is not sent.
What appears in the log is:
[04:31:00] Emulator listening on http://[::]:55944
[04:31:01] Failed to start ngrok: undefined
[04:31:01] ngrok may already be running in a different process. ngrok's free tier allows only one instance at a time per host.
[04:31:01] Checking for new version...
[04:31:02] Application is up to date.
When you try to send your bot a message, does it generate an entry in the emulator's log?
Closing due to inactivity. Reply here if you still need assistance and I will reopen.
yes it does [generate an entry in the log]. I am facing the same issue. Ngrok was not running in an other instance as far as I can say that, based on the taskmanager. I also checked it's version which was higher than 1.2.1 (as some people suggested it might be connected to that). Also, I am facing this issue when running botframework samples. When I run ngrok standalone, then it is able to connect to ports via console. Very strange. I tried reinstalling the botframework emulator and ngrok and then ran the emulator as admin, but still the problem exists. Do you have any ideas what else might I try?
@fr6087 Can you tell me about your setup:
- Are you running your bot locally (on the same machine as the emulator)?
- Are you running with or without credentials?
- Are any errors showing up in your emulator log?
Following the steps outlined in the Authentication Troubleshooting Guide is a great way to ensure your configuration is setup correctly. https://docs.microsoft.com/en-us/bot-framework/troubleshoot-authentication-problems
Yes, I'm running under http://localhost:3979/api/messages without security enabled that is I checked that there are no values in the Webconfig-file for appsettings-credentials
Let me show you a picture...

[14:15:13] Checking for new version... [14:15:14] Failed to start ngrok: undefined [14:15:14] ngrok may already be running in a different process. ngrok's free tier allows only one instance at a time per host.
Hi, I am also facing this issue while using Bot framework channel Emulator and ngrok tunneling software. I gave the proper path in App settings of emulator for ngrok.exe and had also launched emulator as administrator. But end up in above error. If anyone can help in this.
Thanks !
I found out that the emulator was connecting to the proxy of my company instead of dissolving localhost. I don't know all the steps because a collegue was helping me with this. But we used Postman (that's a Google Chrome Extension) for monitoring POST/GET traffic and then modified proxy settings in Postman. It resulted in a workaround with copy-pasting JSON from Botframework Emulator to Postman. Workaround worked, Bot answered. But in the emulator itself, I saw no possibility to adapt proxy settings and Botframework Emulator is still not working whenever I am using the company network.
Yep I think we need to bypass the configured proxy for localhost addresses. Thanks for taking the time to report this.
I have a similar issue: I get a POST 202 conversation update. But no reply from the bot. It is working fine in web chat, though.


after I added my authtoken, It shows this..
and, this is what my ngrok status shows:
I'm behind a corporate proxy. The local version works justfine.
any idea, what is being missed?
well, i fixed it using so called microsoft solution i.e. "uninstall the emulator and install again". and i had SSL on localhost which was also causing issues. So, i removed SSL from localhost.