DirectLine Service is responding with "503 Service Unavailable". Service Down.
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
- 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
Same problem! SDK Platform: NodeJS SDK Version: 3.15 Active Channels: Direct Line Deployment Environment: OnPrem
Same issue SDK Platform: NodeJS SDK Version: 3.14.1 Active Channels: Direct Line Deployment Environment: Azure Bot Service, Azure App Service
Same issue with our chatbot .Net SDK version 3.15.2.2 Channel: Directline Deployed: Azure bot service
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
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)
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

Facing the same issue

I got this message on Azure Directline Channel. Facing the same Issue of 503 (Service Unavailable).
This is what I am getting in Directline channel in azure portal
Same Issue:
We are facing same issue, 503 Service Unavailable when trying to connect to Directline

Above screenshots are from Google Chrome 66 Dev Console.
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.
I see the service is back up again. Able to post to the direct line API successfully.

from https://azure.microsoft.com/en-gb/status/
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.
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:

Final Update

the issue still happens for me...
Same here, It was working fine before a while. Now it is again giving the same error of 503. It is highly inconsistent.
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.