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.
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!
This had me pulling my hair out - then I noticed some websocket errors in my browser's developer console - and after a browser restart it started working again!
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:
In Settings blade, please check the Messaging endpoint that you specified and make sure it is same as your using in the bot emulator.
In the Application Settings blade, please check if you specify the correct MicrosoftAppID and MicrosoftAppPassword for your bot.
In Channels blade, please check the error message by clicking the "Issues" link for the affected channel.
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.