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
7
votes
2 answers

Return 503 for POST request in Nginx

I have simple configuration file that is used to server custom 503 error page at a time of maintenance. The relevant part is this: server { listen 80 default; root /usr/share/nginx/html; server_name example.com; location…
cababunga
  • 3,090
  • 15
  • 23
6
votes
2 answers

Display image that returns HTTP 503 in Firefox

I have a status badge image that returns the HTTP code 503 when the respective service is offline (but the webserver is still there serving calls). Now opening the image URL directly will display the image properly, regardless of the underlying 503…
BrainStone
  • 3,028
  • 6
  • 32
  • 59
6
votes
1 answer

Show a custom 503 page if upstream is down

I am using nginx as a frontend to an apache server. The config file looks like: upstream apache { server localhost:8000; } server { listen 80; error_page 503 /www/static/503.html; # need some magic here # location /static/ { …
Maxim Razin
  • 9,114
  • 7
  • 34
  • 33
6
votes
2 answers

IIS on Windows 10. Server Error 503

I have Windows 10 and I want to run IIS. I have activeted all features for it, as you can see here. Then I type "localhost" in the browser and I take "HTTP Error 503. The service is unavailable." In some forums they say to control the log HTTP…
6
votes
2 answers

Uploaded successfully to Heroku Local but getting 503 error once pushed to Heroku live

So after changing around files and shifting code in my MEAN stack app, I've finally got it to load on Heroku local. Now the problem is when I push this app to my Heroku remote and ask to Heroku open, the app has this error.... Failed to load…
Kandianne Pierre
  • 314
  • 1
  • 5
  • 17
6
votes
1 answer

Whenever a CORS $http request fails, the response returned is always 0

this is a similar question to this post in SO.But the answer provided here cannot be applied in my case as i cannot change the response headers from server. Suppose an http POST to a different origin. This implies CORS, including a CORS preflight…
Divya MV
  • 2,021
  • 3
  • 31
  • 55
6
votes
4 answers

What happens to other users if the .NET worker process crashes?

My knowledge of how processes are handled by the ASP.Net worker process is woefully inadequate. I'm hoping some of the experts out there can fill me in. If I crash the worker process with a System.OutOfMemoryException, what would the user experience…
Jason Slocomb
  • 3,030
  • 1
  • 23
  • 25
5
votes
1 answer

IIS 7 Service Unavailable 503 ERROR

I am encountering a 503 - Service Unavailable error. I checked the event log and found this: The Module name FastCgiModule path C:\WINDOWS\System32\inetsrv\iisfcgi.dll returned an error from registration. The data is the error. Note: Every…
Alexey
  • 464
  • 2
  • 9
  • 20
5
votes
3 answers

How to catch status 503 in tampermonkey

I have a userscript that refreshes the page every second, but sometimes the website it's trying to refresh runs into the status 503 error, and that stops the script from running anymore. That means that script will no longer try refresh the page…
5
votes
1 answer

Google pubsub 88% of requests come back as 503

Question on why pubsub requests seem to trigger such a high number of 503 errors? Is this something common? It seems other people see something similar but a majority of my requests end up that way Similar to Google Pubsub: UNAVAILABLE: The service…
5
votes
2 answers

apache tomcat 503 custom error page

I have apache2 and tomcat6(not installed from apt repository, manually downloaded and installed) running on port 80 with mod_jk setup. The jsp servlet pages are accessed pointing the browser to http://myapp.mydomain.com/ (virtual hosting is done in…
user465465
  • 441
  • 3
  • 13
  • 26
5
votes
1 answer

How to display a JSON error message?

I'm currently developing a tumblr theme and have built a jQuery JSON thingamabob that uses the Tumblr API to do the following: The user would click on the "post type" link (e.g. Video Posts), at which stage jQuery would use JSON to grab all the…
Tiny Giant Studios
  • 1,125
  • 3
  • 12
  • 27
5
votes
2 answers

Heroku Go app crashing

Following this tutorial, everything works locally. After I deploy my app to Heroku and visit the app on the browser I get a 503 Error and the message: Application Error An error occurred in the application and your page could not be served.…
sargas
  • 5,820
  • 7
  • 50
  • 69
5
votes
1 answer

Haproxy and intermittent 503 issues

I am using Haproxy 1.5.14 in a VirtualBox VM (Boot2docker) where assets it loads intermittently show up 503 without any real rhyme or reason, this is especially true on startup of the cluster. The cluster looks like this, 1 front end with port 80…
TroyWorks
  • 411
  • 8
  • 16
5
votes
0 answers

HttpURLConnection returns 503 error even though it's working fine with browser

When I have written following piece of code to check whether the site is up or not I always get http 503, even though the site is working fine when I hit it on browser. URL url=getASCIIUrl(httpUrl); HttpURLConnection con = null; con =…
1 2
3
35 36