Cannot send messages from Microsoft Bot Framework
See original GitHub issueVersion 3.5.20
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:3978/api/messages, whenever inputting a string, the message is not sent.
When accessing the app settings, the emulator port is modifiable. The emulator port was 9002 by default and even changing it to 9000 (which I remember seeing in some other posts) did not fix the issue.
What appears in the log is:-
Emulator listening on http://[::]:9002
failed to start ngrok: spawn D:\Downloads\Setup\ngrok-stable-windows-amd64\ngrok.
Click here to configure ngrok.
Checking for new verson...
Application is up to date.
http://stackoverflow.com/questions/40822507/cannot-send-messages-from-microsoft-bot-framework/40901454#40901454
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
How do I find out the reason I cannot send messages to my bot?
Go to the bot's App service in Azure portal and go to "App Service Logs" near the bottom of the left menu. Enable...
Read more >Troubleshooting Azure Bot Service bots - Microsoft Learn
In the top menu bar, select Debug console. Then, in the drop-down menu, select CMD. · Run nslookup directline.botframework.com and check if the ......
Read more >Cannot send messages using Microsoft Bot Emulator #226
It resulted in a workaround with copy-pasting JSON from Botframework Emulator to Postman. Workaround worked, Bot answered. But in the emulator ...
Read more >Microsoft Bot Framework v4: Send proactive messages to ...
Microsoft Bot Framework v4: Send proactive messages to Teams channels and users. What is a Bot Framework Proactive message?
Read more >How to properly send a greeting message and common ...
If you're using WebChat or directline, the bot's ConversationUpdate is sent when the conversation is created and the user sides' ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In my emulator it was trying port 3978 but the default from my PROJECT was 3979. Notice the final digit is one off. I missed this for a minute or two. Also use “localhost” and not the default 127.0.0.1. This approach worked for me.
Thanks, this resolved my issue.