本文介绍了将此消息发送到您的机器人时发生错误-网络聊天中的测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在Visual Studio中开发的C#机器人,该机器人可以在桌面上的机器人模拟器上成功运行.该机器人已发布到Azure,并再次在机器人模拟器中成功运行.我认为这意味着该机器人的应用程序ID和密码是正确的.但是,同一漫游器无法在网络聊天中或在Azure门户的在网络聊天中进行测试"窗口中工作.它总是回复-无法发送重试.有人可以帮我吗?

I have a C# bot developed in Visual Studio which runs successfully on a bot emulator in desktop. This bot was published to Azure and again ran successfully in the bot emulator. I think this means that the app-ID and password of the bot are correct. However the same bot wouldn't work in web chat or in the "Test in Web Chat" window in Azure portal. It always replies with - couldn't send retry. Could someone please help me out?

更新:在通道"窗口中检查问题"会产生以下错误:-将此消息发送到您的漫游器时出错.

Update: An inspection of "Issues" in Channel window gives the following error:- There was an error sending this message to your bot.

推荐答案

好吧,我在配置中犯了一个错误.我已将消息传递终结点配置为http URL.但是,漫游器配置似乎只能与https URL一起使用.将http更改为https解决了我的问题.谢谢大家的建议!

Well I'd made a mistake in configuration. I had configured the messaging endpoint as an http URL. However bot configuration only seems to work with an https URL. Changing http to https fixed my problem. Thanks everyone for the suggestions!

这篇关于将此消息发送到您的机器人时发生错误-网络聊天中的测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-18 21:01