简体   繁体   中英

Bot not responding in Bot Framework Emulator

I have a Web App Bot in Azure which I would like to develop locally with.Net / C# in MS Visual Studio 2019. I downloaded the source code from the build blade in the Azure portal and followed exact the instructions in the read.me file. I opened the.sln file in VS 2019 and the build and run were successful and I received a port number for the bot URL. I opened the emulator and tried both 'open bot' and 'create new bot configuration' and in both cases the I am not receiving any response when trying to test the bot in the emulator. I also downloaded ngrok but I keep getting the 'send failed' and that is all. Does anybody know a solution? Many thanks

Could you please check if you have.bot file?

If you do not have a.bot file, could you please do:

  1. click on 'create a new bot configuration' in the Welcome page of Bot Framework Emulator or File
  2. click on New Bot Configuration
  3. fill in the required fields and click save and connect.

If you are using Emulator to test the local bot, you must make sure that you are either specifying appid/password (if configured in configuration (appsettings.json/.env), or leaving them blank (if blank in configuration).

If using NGrok, you want to change the endpoint URL within Azure , then make sure that it is running locally.

Do you see any errors/exceptions within Emulator (bottom right pane) or with in NGrok, when using either of these approaches?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM