HTTP

HTTP 510 Not Extended vs 524 A Timeout Occurred

Both HTTP 510 (Not Extended) and 524 (A Timeout Occurred) belong to the 5xx Server Error category. 510 indicates that further extensions to the request are required for the server to fulfill it. Meanwhile, 524 means that cloudflare-specific. A TCP connection was established but the origin didn't respond with an HTTP response in time.

Description

Further extensions to the request are required for the server to fulfill it.

When You See It

When an HTTP extension required by the server is not present in the request.

How to Fix

Add the required extension headers to your request.

Description

Cloudflare-specific. A TCP connection was established but the origin didn't respond with an HTTP response in time.

When You See It

When a request to the origin takes longer than Cloudflare's 100-second timeout.

How to Fix

Optimize slow endpoints. Move long-running tasks to background jobs.

Key Differences

1.

HTTP 510: Further extensions to the request are required for the server to fulfill it.

2.

HTTP 524: Cloudflare-specific. A TCP connection was established but the origin didn't respond with an HTTP response in time.

3.

You encounter 510 when when an HTTP extension required by the server is not present in the request.

4.

You encounter 524 when when a request to the origin takes longer than Cloudflare's 100-second timeout.

When to Use Which

For 510 (Not Extended): Add the required extension headers to your request. For 524 (A Timeout Occurred): Optimize slow endpoints. Move long-running tasks to background jobs.

Learn More