There was an error sending this message to your bot - Test in Web Chat

前端 未结 3 1305
粉色の甜心
粉色の甜心 2021-01-24 17:35

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.

3条回答
  •  难免孤独
    2021-01-24 18:06

    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.

    To troubleshot the issue, you can try:

    1. In Settings blade, please check the Messaging endpoint that you specified and make sure it is same as your using in the bot emulator.

    2. In the Application Settings blade, please check if you specify the correct MicrosoftAppID and MicrosoftAppPassword for your bot.

    3. In Channels blade, please check the error message by clicking the "Issues" link for the affected channel.

    4. The bot application is hosted as Azure web app, try to remote debug your code and check if the code is executed as expected.

    Besides, if possible, you can try to create a new bot on Azure portal, and publish your bot application to corresponding web application that you specified as messaging endpoint, and check if web chat works fine with that new bot.

提交回复
热议问题