Closed luoanabecher closed 1 year ago
Most of the time when the bot doesn't work on the front-end app is because the BOT_DIRECTLINE_SECRET_KEY app setting is not set correctly. If the bot is working well in the Test Web Chat in the Azure portal, and in Teams, then the only other possible cause is not setting correctly BOT_DIRECTLINE_SECRET_KEY in the front-end app settings in the azure portal.
Hello,
Tested all notebooks and ran fine, deployed the backend web app with no errors but when testing it i get 'To continue to run this bot, please fix the bot source code. ' WHen i look at the Bot channels, both direct line & web chat have the same message for healthy status(issues): 'There was an error sending this message to your bot: HTTP status code GatewayTimeout' & when i do inspect in browser i see the POST call https://directline.botframework.com/v3/directline/conversations/XYZ-eu/activities with response: { "error": { "code": "BotError", "message": "Failed to send activity: bot timed out" }, "httpStatusCode": 504 }
The same bot works in teams, but not in the frontend app, i also looked at all the backend webapp & frontend webapp configuration and checked all the values, including the BOT_DIRECTLINE_SECRET_KEY and it`s correct