Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure web app is 503 Service Unavailable. How do I get it back running?

Tags:

azure

Our website has been hosted on Azure for a few years. Tonight it is throwing 503 Service unavailable errors. I cannot even load a url to a .jpg file. I have restarted the app and still nothing loads from the website. I cannot buy Azure support because I have bought and cancelled Azure support in the past. We are a 3 person business and depend on our small website and it is down and I don't know what to do. None of the trace logs make any sense to me.

like image 993
AvgJoe Avatar asked Mar 26 '19 09:03

AvgJoe


3 Answers

I think 503 could mean that you reached a quota and Azure now respond with a 503 for requests. So I would check the Quotas section within your App Service Plan. Also check: Troubleshoot HTTP errors of "502 bad gateway" and "503 service unavailable" in Azure App Service

like image 118
Martin Brandl Avatar answered Nov 19 '22 21:11

Martin Brandl


There are several things you can do to help remedy the situation.

  • Restart the application (please indicate what it is that will help us)

  • Restart the instance that the application is running on.

  • Restore from a previous working backup of the site.

You should also add more information to your post so we can help, like what application you are using e.g. Apache, Nginx ect.

like image 27
Tzashi Avatar answered Nov 19 '22 19:11

Tzashi


I've also had a similar problem. I had two deployment slots and in the first slot (production) which I had the latest code and in the second slot, I've missed deploying the latest code and configured traffic as 60-40 which gave me hard time finding it.

Once I've set 100% to the production slot it started working.

Just thought to share this in case it could be useful if you come across the same stuff in the future.

like image 34
Karthik Dhanasekaran Avatar answered Nov 19 '22 19:11

Karthik Dhanasekaran