HTTP

HTTP 503 Service Unavailable vs 505 HTTP Version Not Supported

Both HTTP 503 (Service Unavailable) and 505 (HTTP Version Not Supported) belong to the 5xx Server Error category. 503 indicates that the server is temporarily unable to handle the request due to maintenance or overload. Should include a Retry-After header. Meanwhile, 505 means that the server does not support the HTTP version used in the request.

Description

The server is temporarily unable to handle the request due to maintenance or overload. Should include a Retry-After header.

When You See It

During maintenance windows, server overload, or when the application pool is exhausted.

How to Fix

Wait and retry. Check the Retry-After header. Scale up servers if it's a capacity issue.

Description

The server does not support the HTTP version used in the request.

When You See It

When a client uses an HTTP version the server doesn't support.

How to Fix

Use a supported HTTP version (typically HTTP/1.1 or HTTP/2).

Key Differences

1.

HTTP 503: The server is temporarily unable to handle the request due to maintenance or overload. Should include a Retry-After header.

2.

HTTP 505: The server does not support the HTTP version used in the request.

3.

You encounter 503 when during maintenance windows, server overload, or when the application pool is exhausted.

4.

You encounter 505 when when a client uses an HTTP version the server doesn't support.

When to Use Which

For 503 (Service Unavailable): Wait and retry. Check the Retry-After header. Scale up servers if it's a capacity issue. For 505 (HTTP Version Not Supported): Use a supported HTTP version (typically HTTP/1.1 or HTTP/2).

Learn More