[英]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 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.
我在 VS 2019 中打开了 .sln 文件,构建和运行成功,我收到了机器人 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.
我也下载了 ngrok,但我一直收到“发送失败”,仅此而已。 Does anybody know a solution?
有人知道解决方案吗? Many thanks
非常感谢
Could you please check if you have.bot file?你能检查一下你是否有.bot文件吗?
If you do not have a.bot file, could you please do:如果您没有 .bot 文件,请您执行以下操作:
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).如果您使用模拟器测试本地机器人,您必须确保指定 appid/password(如果在配置中配置 (appsettings.json/.env)),或者将它们留空(如果在配置中为空白)。
If using NGrok, you want to change the endpoint URL within Azure , then make sure that it is running locally.如果使用 Ngrok,您想在 Azure 中更改端点 URL ,然后确保它在本地运行。
Do you see any errors/exceptions within Emulator (bottom right pane) or with in NGrok, when using either of these approaches?使用这些方法中的任何一种时,您是否在 Emulator(右下窗格)或 Ngrok 中看到任何错误/异常?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.