Microsoft Azure Bot Framework Emulator is not sending message

梦想的初衷 提交于 2019-12-20 06:41:17

问题


On my Windows 10, I installed Microsoft Azure Bot Framework Emulator from the here (I had used botframework-emulator-setup-4.0.15-alpha.exe from the GitHub link that Microsoft Article provided).

But when I run the Emulator, configure a bot and send a text message it says couldn't send (as highlighted in snapshot 3 below:

Step 1: Install Emulator Step2: Create a new bot Configuration Step3: Send message


回答1:


Install ngrok tunneling. https://github.com/microsoft/botframework-emulator/wiki/Tunneling-(ngrok)

Restart the emulator once installed.




回答2:


You need to correct few things:

  1. Change your messaging endpoint url to: http://localhost:PORT_NUMBER/api/messages ; where PORT_NUMBER is the port number your app will be listening to. It should be specified in your code and ideally for most bot developers, it's value is either 3978 or 3979

  2. Check whether the MSA app id and MSA app password fields have any value in your code or not. If they have an ID-Password value present in your code then your emulator should also be configured with the same.



来源:https://stackoverflow.com/questions/50378863/microsoft-azure-bot-framework-emulator-is-not-sending-message

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!