0
votes

Bot Info

  • Bot handle: Medibot_medibuddy
  • App ID: dcda60fe-72d4-4796-a728-de8fa3aef2a5
  • SDK Platform: Node.js
  • SDK Version: Latest
  • Active Channels: WebChat, Facebook, Skype
  • Deployment Environment: Azure App Service

Issue Description

Our bot (Medibot, https://medibotmb.azurewebsites.net) has suddenly stopped working on all channels including WebChat. It works perfectly on Emulator though. We've been trying to debug this issue since days and have not been successful with any solutions/suggestions online. I've tried using Log stream and debug console to catch exceptions but there aren't any.

Code Example

The code is hosted in https://github.com/nirmalrayan/medibot

Reproduction Steps

  1. Visit medibotmb.azurewebsites.net. This should open WebChat channel's index.html document.
  2. The page tries to load for a long time and throws HTTP status: 500, HTTP subStatus: 1001, HTTP Reason: Internal Server Errror.
  3. Bot framework displays the error message 'There was an error sending this message to your bot: HTTP status code GatewayTimeout' for Facebook and Web Chat channels.

Expected Behavior

  1. Render index.html page with Web Chat iframe.
  2. After the user sends first message, the bot welcomes with a hero card.

Actual Results

Nothing happens. The page does not get rendered. No exception in thrown in log stream while testing. Even botframework 'Test' does not throw any error in Azure app service log stream.

node.js

1
Suggesting that your problem is somehow more urgent that everyone else's (or the persons own work etc) doesn't usually lead into positive things - James Z
Please try implementing a custom state client using the botbuilder-azure npm package. blog.botframework.com/2017/07/21/saving-state-azure-nodejs - Eric Dahlvang
What is the exact SDK version? - nilsw
When I checked your bot server just now, I got a "Server Not Found" error. It appears your bot server is not online anymore. - nilsw
If you are still having problems, please open an issue here --> github.com/microsoft/botbuilder/issues/new - nilsw

1 Answers

0
votes

I don't see the iframe code in the index.html of https://medibotmb.azurewebsites.net