Repository: microsoft/botframework-sdk

Issue #3566: Bot only works on Emulator. Other channels are displaying 'There was an error sending this message to your bot: HTTP status code GatewayTimeout' error
Created: 2017-10-04T10:50:04Z
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. Kindly expedite.



Code Example
The code is hosted in https://github.com/nirmalrayan/medibot
Reproduction Steps

Visit medibotmb.azurewebsites.net. This should ideally open WebChat channel's index.html document.
The page tries to load for a long time and throws HTTP status: 500, HTTP subStatus: 1001, HTTP Reason: Internal Server Errror.
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

Render index.html page with Web Chat iframe.
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. Please assist at the earliest.
node.js

Duplicate issue #3895: Why Botframework bot is not online anymore?
Created: 2017-12-08T16:28:36Z
Bot Info

App ID: 31db772c-9761-4b25-b568-f1e140b26b4a
SDK Platform: Node.js
SDK Version: v6.9.1 on server and v6.11.1 on my pc
Active Channels: Web Chat, Skype
Deployment Environment: Azure App Service

Issue Description
Our bot (Medibot, https://medibot.azurewebsites.net) has suddenly stopped working on all channels including WebChat. It used to work perfectly on Emulator though but stopped working from yesterday. 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.
You had commented on my earlier post (https://stackoverflow.com/questions/46564927/why-botframework-bot-only-works-only-on-emulator-and-none-of-the-other-channels?noredirect=1#comment82372024_46564927) that the bot server is not online. How do I bring it back up? In my Azure App Service Overview, it shows that the status is running and I've attached a screenshot of the same for your reference.
Code Example
The code is hosted in https://github.com/nirmalrayan/medibot
Reproduction Steps

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

Expected Behavior

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

Actual Results
Nothing happens. The page does not get rendered. No exceptions are shown in log stream while testing. Even chatting in botframework's 'Test' section does not throw any error in Azure app service log stream. It responds back with "couldn't send, retry" message.

Closing comment (2017-12-08T17:46:09Z): Closing as duplicate of #3566