问题
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:
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 3979Check 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