Questions tagged [http-status-code-503]

503 is one of the status codes a web server can return to a client application when processing a request. 503 is defined as Service Unavailable

503 Service Unavailable. The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client should handle the response as it would for a 500 response.

Note:

The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.

Related tags

See also RFC2616.

535 questions
5
votes
1 answer

Visual Studio 2013: Debug using IP Address instead of LocalHost

I have a WCF REST service which debugs and works perfectly when using IISExpress and this url: http://localhost: However, for various reasons, I need it to also work with IIS Express and THIS url: http://: When…
Casey Crookston
  • 13,016
  • 24
  • 107
  • 193
5
votes
2 answers

Windows Azure Node JS WEBSOCKET HandShake Fails 503 Error

I've deployed my nodeJS server in windows azure. My client fails while connecting to server and handle the following error : WebSocket connection to 'wss://ooplrfrfranode.azurewebsites.net/socket.io/1/websocket/lHrd-DOydinODjbS7-tc' failed: Error…
Moussi
  • 470
  • 6
  • 16
5
votes
1 answer

varnish 503 service unavailable

My varnish version is 3.0. My server works well while I curl the URLs, but when use varnish cache it return 503 service unavailable occasionally. The log info likes is: 0 Debug - "VCL_error(200, OK)" 24 VCL_call c recv error 24 VCL_call …
lichengwu
  • 4,277
  • 6
  • 29
  • 42
5
votes
2 answers

HttpURLConnection returns 503 error when accessed through proxy

I am working on creating a Video sitemap for a site that has hosted videos on Brightcove video cloud. In order to get all the video information from the site, Brightcove suggests to read the response from their url of following…
Shashank Kadne
  • 7,993
  • 6
  • 41
  • 54
4
votes
2 answers

Very strange behavior (error 503) with PHP-FPM, MariaDB and Symfony Form Doctrine Query builder

I apologize in advance that I can't categorize this issue any better but the behavior is puzzling to such an extent that I have no clue where the issue might originate from. Together with another dev we tried to bugfix this since several hours, but…
Avi
  • 129
  • 2
  • 8
4
votes
1 answer

How to return 503 server busy based on cpu/memory usage or pending requests?

I am working on high performance web application that uses jetty and jersey for REST. I am trying to find the best way to return 503 if CPU load, memory bandwidth or pending connections are high. Looking around the web I did not find much…
mbdev
  • 6,343
  • 14
  • 46
  • 63
4
votes
2 answers

503 with no trace in the logs using apache/wsgi

My Flask app returns 503 errors regularly. I can't tell the reason. Could be load related. It is not systematic, so it's not a file permissions issue. It's more like 5 times on 10 subsequent requests. Easy to reproduce using F5 in a browser. I'd…
Jérôme
  • 13,328
  • 7
  • 56
  • 106
4
votes
2 answers

In what circumstances a REST API should return HTTP Status 503

The standard says: 10.5.4 503 Service Unavailable. The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after…
Sandip Chitale
  • 427
  • 1
  • 6
  • 9
4
votes
2 answers

Getting CORS error in angularJS front end

I am using a flask server with an angular front end. Up until recently, I was running the project on my local and had no issues. I now moved my project to a remote server and have been getting the following error. I am not sure what i'm doing…
galeej
  • 535
  • 9
  • 23
4
votes
0 answers

How to add HTTP 503 header responses with wp_redirect

I am building a maintenance plugin where I will invoke 503 Header responses when the plugin is activated. However, I also make sure other pages get redirected to the homepage. But the redirection is not working when 503 header is already…
Ayanize
  • 485
  • 1
  • 4
  • 21
4
votes
3 answers

Resource temporarily unavailable: mod_wsgi (pid=28433): Unable to connect to WSGI daemon process

First of all: I'm working on a web server using Apache/2.2.31 (Unix) and Django 1.8 with WSGI. Everything was fine until I did some changes to my views.py file and touched the wsgi.py in order for changes to take effect. Right after, everytime I try…
4
votes
2 answers

Server returned HTTP response code: 503 for URL

Getting "Exception in thread "main" java.io.IOException: Server returned HTTP response code: 503 for URL" error when I make multiple calls to Amazon Product Advertising API. Is the reason overloading of the service? One Possible solution is to use…
4
votes
1 answer

IIS Express responses Service Unavailable for local request on specific port

I had a working ASP.NET application running on automatically generated port like 53000. After move to another port (8080 in my case) IIS Express started responding 503 Service Unavailable. Other ports did work. Internet is full of tips for what to…
Ilia Barahovsky
  • 10,158
  • 8
  • 41
  • 52
4
votes
0 answers

Why would I get a "503 - Service Unavailable" error when the service is available?

According to this, a 503 error is "503 Service Unavailable The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state." Yet that doesn't seem to be the case for me. I have a Web API…
4
votes
2 answers

How do you return a custom 503 message?

I have a service implemented in MVC4 / ASP.NET Web Api. I would like to return a custom 503 message to my clients when the system is down for maintenance. I have the following code: public class ServiceController : ApiController { …