HTTP

HTTP 499 Client Closed Request vs 505 HTTP Version Not Supported

HTTP 499 (Client Closed Request) is a 4xx Client Error response, while 505 (HTTP Version Not Supported) is a 5xx Server Error response. 499 indicates that a non-standard status code used by Nginx when the client closes the connection before the server responds. In contrast, 505 means that the server does not support the HTTP version used in the request.

Description

A non-standard status code used by Nginx when the client closes the connection before the server responds.

When You See It

In Nginx logs when clients timeout or navigate away before receiving the response.

How to Fix

Optimize server response times. Check for slow upstream services.

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.

499 is a 4xx Client Error response, while 505 is a 5xx Server Error response.

2.

HTTP 499: A non-standard status code used by Nginx when the client closes the connection before the server responds.

3.

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

4.

You encounter 499 when in Nginx logs when clients timeout or navigate away before receiving the response.

5.

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

When to Use Which

For 499 (Client Closed Request): Optimize server response times. Check for slow upstream services. For 505 (HTTP Version Not Supported): Use a supported HTTP version (typically HTTP/1.1 or HTTP/2).

Learn More