botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

DirectLine Service is responding with "503 Service Unavailable". Service Down.

Open mutanttech opened this issue 8 years ago • 67 comments

Bot Info

  • SDK Platform: .NET
  • SDK Version: 3.12.2.4
  • Active Channels: Direct Line
  • Deployment Environment: Azure Bot Service, Azure App Service,

Issue Description

Bot is not able to respond back, throwing "503 Service Unavailable".

Code Example

No Code

Reproduction Steps

  1. Open any bot that connects with Direct Line Channel

Expected Behavior

Directline should respond.

Actual Results

Directline Throwing "503 Service Unavailable"

In Azure Portal when opening the Channels Blade under Web App Bot and editing the Direct Line Channel gives below response; https://dev.botframework.com/client/images/errorbot.svg

mutanttech avatar Jun 14 '18 08:06 mutanttech

Same problem! SDK Platform: NodeJS SDK Version: 3.15 Active Channels: Direct Line Deployment Environment: OnPrem

Squashy83 avatar Jun 14 '18 08:06 Squashy83

Same issue SDK Platform: NodeJS SDK Version: 3.14.1 Active Channels: Direct Line Deployment Environment: Azure Bot Service, Azure App Service

pupipipu avatar Jun 14 '18 08:06 pupipipu

Same issue with our chatbot .Net SDK version 3.15.2.2 Channel: Directline Deployed: Azure bot service

singhsurya avatar Jun 14 '18 08:06 singhsurya

i am getting the same issue! SDK Platform: NodeJS SDK Version: 3.15 Active Channels: Direct Line Deployment Environment: Azure Bot Service, Azure App Service

ibrahemw avatar Jun 14 '18 08:06 ibrahemw

Same issue SDK Platform: .NET SDK Version: 3.12.2.4 Active Channels: Direct Line Deployment Environment:

  • Web App Bot (Azure, global)
  • App Service (Azure, West Europe)

EdwinOtten avatar Jun 14 '18 08:06 EdwinOtten

We are also having the same issue. Here's a sample of the error:

Failed to load https://directline.botframework.com/v3/directline/conversations/CJNVaedUKzPAuf4kKEn2hL/activities: 
Response to preflight request doesn't pass access control check: 
No 'Access-Control-Allow-Origin' header is present on the requested resource. 
Origin 'https://www.ouroriginwhichwasworking.com' is therefore not allowed access. 
The response had HTTP status code 503

JPThorne avatar Jun 14 '18 08:06 JPThorne

image

mchsudhakar avatar Jun 14 '18 09:06 mchsudhakar

Facing the same issue

jopuneet avatar Jun 14 '18 09:06 jopuneet

image

I got this message on Azure Directline Channel. Facing the same Issue of 503 (Service Unavailable).

sangeeta211M avatar Jun 14 '18 09:06 sangeeta211M

screen shot 2018-06-14 at 3 17 46 pm

This is what I am getting in Directline channel in azure portal

jopuneet avatar Jun 14 '18 09:06 jopuneet

Same Issue: We are facing same issue, 503 Service Unavailable when trying to connect to Directline image image

Above screenshots are from Google Chrome 66 Dev Console.

harigovind511 avatar Jun 14 '18 09:06 harigovind511

If any one from MS is available, kindly address this issue or at least post a status update. I have been checking the service calls since I have opened the issue and I have found really inconsistent Direct Line responses, it responded with 500 Internal Server Error , 502 Bad Gateway, 503 Service Unavailable in different attempts and it occasionally served data as well.

When I am testing the bot from the Azure Portal, bot worked inconsistently from there as well. Kindly fix the issue.

mutanttech avatar Jun 14 '18 09:06 mutanttech

I see the service is back up again. Able to post to the direct line API successfully.

rmaheshwaran avatar Jun 14 '18 10:06 rmaheshwaran

image

from https://azure.microsoft.com/en-gb/status/

mchsudhakar avatar Jun 14 '18 10:06 mchsudhakar

I've left a WebChat window open for the last few hours, a lot of requests were taking too long and resulted in the 503's.

Then, since around 2018-06-14 09:59:00 GMT, the requests stopped failing and the response time gradually decreased from ±14 seconds to <200ms a minute later.

Since then (for at least and hour, that is) all requests are succeeding (200 OK) and the response times are generally below 200ms, with an occasional peak to ± 2 seconds. So things are stabilising, I'm curious to see what is/was causing this issue.

EdwinOtten avatar Jun 14 '18 10:06 EdwinOtten

I can confirm as well, that the Service works now. Still to see performance data. BTW, the message below:

Starting at 07:15 UTC on 14 Jun 2018 you are a customer using Azure Bot Service who may experience difficulties connecting to bot resources. Engineers are aware of this issue and are actively investigating. The next update will be provided in 60 minutes, or as events warrant.

Message, does not clearly describes which resources and as per the message it started at 7:15 UTC and currently its 11:00 UTC, so looks like the problem was really big.

In Azure Portal under Service Health shows above message and Potential Impact in 0 resources, what does it mean?

The status url https://azure.microsoft.com/en-gb/status/ shows this now: directline issue fixed

mutanttech avatar Jun 14 '18 11:06 mutanttech

Final Update image

mchsudhakar avatar Jun 14 '18 11:06 mchsudhakar

the issue still happens for me...

pupipipu avatar Jun 14 '18 11:06 pupipipu

Same here, It was working fine before a while. Now it is again giving the same error of 503. It is highly inconsistent.

sangeeta211M avatar Jun 14 '18 11:06 sangeeta211M

Dear Microsoft,

Please avoid this in the future, as we nearly lost a customer when we couldn't demo their bot because of this bug.

anton-bot avatar Jun 14 '18 11:06 anton-bot