0
votes

I deployed the bot code to the azure , Test in webchat option nothing I am getting and in the channels I am getting the below error.

There was an error sending this message to your bot: HTTP status code GatewayTimeout

The bot code works fine in the emulator but getting error in the portal. So how to resolve this problem?

The id's and Bot Channel Registration everything is correct still getting the error.

1
How are you deploying the bot on Azure? Can you check the deployment steps if you missed out on some step? Is the messaging endpoint configured correct?Also, check the troubleshooting documentation to narrow down on the issue.ranusharao

1 Answers

2
votes

A few steps to help you get started:

  • You need to check how you are deploying your web app bot to Azure. Refer to the deployment steps tutorial to see if you missed any of the steps.
  • If your bot is hosted elsewhere, then you will need to register your bot.
  • Check if you have correctly configured your messaging endpoint. It should be in the format https://yourbotname.azurewebsites.net/api/messages. Also, double-check if your appID and appPassword are configured correctly.
  • Try redeploying the bot again by creating a new Bot Channels Registration or on a different resource group/subscription to see if the problem persists.
  • Also, try deploying another bot within the same resource group/subscription to narrow down if the issue is within the bot or with the resources.

Hope this helps.