Search code examples
botframeworkazure-bot-service

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


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.


Solution

  • 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!