HTTP

HTTP 505 HTTP Version Not Supported vs 522 Connection Timed Out

Both HTTP 505 (HTTP Version Not Supported) and 522 (Connection Timed Out) belong to the 5xx Server Error category. 505 indicates that the server does not support the HTTP version used in the request. Meanwhile, 522 means that cloudflare-specific. TCP connection to the origin server timed out.

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).

Description

Cloudflare-specific. TCP connection to the origin server timed out.

When You See It

When the origin server is overloaded or network issues prevent connection.

How to Fix

Check origin server health. Verify firewall rules. Check for network congestion.

Key Differences

1.

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

2.

HTTP 522: Cloudflare-specific. TCP connection to the origin server timed out.

3.

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

4.

You encounter 522 when when the origin server is overloaded or network issues prevent connection.

When to Use Which

For 505 (HTTP Version Not Supported): Use a supported HTTP version (typically HTTP/1.1 or HTTP/2). For 522 (Connection Timed Out): Check origin server health. Verify firewall rules. Check for network congestion.

Learn More