Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP Error 503. The service is unavailable

Tags:

asp.net

iis

iis-8

I'm struggling to setup the environment in IIS8, I searched a lot but couldn't find a right solution.

enter image description here

I checked the error logs, but no idea.

C:\Windows\System32\LogFiles\HTTPERR

  1. 2013-10-09 09:28:39 192.168.43.205 60172 192.168.43.205 80 HTTP/1.1 GET / 503 2 AppOffline qa.hti.local
  2. 2013-10-09 09:28:39 192.168.43.205 60192 192.168.43.205 80 HTTP/1.1 GET /favicon.ico 503 2 AppOffline qa.hti.local

Then in Event Viewer:

WARNINGS:

  1. A listener channel for protocol 'http' in worker process '11188' serving application pool 'qa.hti.local' reported a listener channel failure. The data field contains the error number.
  2. A listener channel for protocol 'http' in worker process '7492' serving application pool 'qa.hti.local' reported a listener channel failure. The data field contains the error number.
  3. A listener channel for protocol 'http' in worker process '9088' serving application pool 'qa.hti.local' reported a listener channel failure. The data field contains the error number.
  4. A listener channel for protocol 'http' in worker process '9964' serving application pool 'qa.hti.local' reported a listener channel failure. The data field contains the error number.
  5. A listener channel for protocol 'http' in worker process '7716' serving application pool 'qa.hti.local' reported a listener channel failure. The data field contains the error number.

I don't understand what the warning means.

ERROR: Application pool 'qa.hti.local' is being automatically disabled due to a series of failures in the process(es) serving that application pool.

Note: I learned that consecutive 5 failures leads to APP Pool crash, and this can increased. I also tried increasing this but no success.

Please share your thoughts.

like image 316
Praveen Avatar asked Oct 09 '13 10:10

Praveen


People also ask

How do I fix error 503 in Chrome?

In most cases, Chrome Error 503 file problems are due to the Google Chrome-related file missing or being corrupted by malware or virus. The primary way to resolve these problems manually is to replace the Google Inc. file with a fresh copy.

What does 503 service unavailable mean?

The 503 service unavailable error is one of the most frequently encountered problems. Web servers return the HTTP 503 error whenever they are unable to process a request. Like any server issues, the 503 service unavailable error can negatively impact a site when left unsolved.

How do I fix HTTP error 503?

HTTP Error 503. The service is unavailable. The fix was to add in http and select OK. The site was then functional again. Or if none of the current solutions work, look in your website's directory for a file called app_offline.htm. That basically tells IIS that your site is unavailable and to show this page instead.

What causes HTTP response 503 service unavailable from IIS?

HTTP response 503 Service Unavailable from IIS: one common generic cause 1 Evidence of repeated w3wp.exe crashes and Rapid-Fail Protection may be found in Windows Events, in the System log with... 2 Evidence of what causes the w3wp.exe to crash may be found in Windows Events, in the Application log: second-chance... More ...

What are the different ways to see the service unavailable error?

Here are the most common ways you might see the "service unavailable" error: 1 503 Service Unavailable 2 503 Service Temporarily Unavailable 3 Http/1.1 Service Unavailable 4 HTTP Server Error 503 5 Service Unavailable - DNS Failure 6 503 Error 7 HTTP 503 8 HTTP Error 503 9 Error 503 Service Unavailable 10 Error 503 Backend fetch failed


1 Answers

I came across this question as I was experiencing a similar issue and searching for a solution.

My problem specifically had to do with our IIS shared configuration. We had enabled a feature in IIS on one of the servers (Http Redirect) that was not installed on any of the others so the server 'features' were out of sync with all the servers.

I was able to resolve the issue by uninstalling the new addition on the first server so it was back to matching the others. An IIS reset later and the AppPools were no longer going down and all was back to normal.

So if you are using IIS Shared Configuration and the IIS is creating 'Service Unavailable' errors and the AppPools are going down, this can be a symptom of the system configuration being out of synch which is corrupting the shared configuration. Hopefully this post will help someone find the solution faster than I was able to.

like image 131
Kelsey Avatar answered Oct 05 '22 04:10

Kelsey