I'm using the bot framework v4. When I test my bot locally using the emulator it works fine. When I deployed my bot and try to access it using the direct line or web chat no messages show up and when I try to send the bot a message it fails. In the Channels health I get "There was an error sending this message to your bot: HTTP status code InternalServerError"
Application Insights shows an Exception that says "POST to failed: POST to the bot's endpoint failed with HTTP status 500 POST to the bot's endpoint failed with HTTP status 500"
This is the call stack
at Microsoft.Bot.ChannelConnector.BotAPI+<PostActivityToBotAsync>d__31.MoveNext (Microsoft.Bot.Base.ChannelConnector, Version=3.2.3.8, Culture=neutral, PublicKeyToken=null)
Inner exception System.Exception handled at Microsoft.Bot.ChannelConnector.BotAPI+<PostActivityToBotAsync>d__31.MoveNext:
at Microsoft.Bot.ChannelConnector.BotAPI.ThrowOnFailedStatusCode (Microsoft.Bot.Base.ChannelConnector, Version=3.2.3.8, Culture=neutral, PublicKeyToken=null)
at Microsoft.Bot.ChannelConnector.BotAPI+<PostActivityToBotAsync>d__31.MoveNext (Microsoft.Bot.Base.ChannelConnector, Version=3.2.3.8, Culture=neutral, PublicKeyToken=null)
I've been able to get the bot working before. I recently made a new bot on my Azure account and it's working fine.
Thank you in advance.
az webapp deployment source config-zip --resource-group "<resouce-group-name>" --name "<bot-resource-name>" --src "allfiles.zip"
– 123me