HTTP

HTTP 226 IM Used vs 524 A Timeout Occurred

HTTP 226 (IM Used) is a 2xx Success response, while 524 (A Timeout Occurred) is a 5xx Server Error response. 226 indicates that the server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations. In contrast, 524 means that cloudflare-specific. A TCP connection was established but the origin didn't respond with an HTTP response in time.

Description

The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations.

When You See It

When using delta encoding to reduce bandwidth.

How to Fix

Rarely encountered. The response uses Instance Manipulations (IM) as specified.

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.

226 is a 2xx Success response, while 524 is a 5xx Server Error response.

2.

HTTP 226: The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations.

3.

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

4.

You encounter 226 when when using delta encoding to reduce bandwidth.

5.

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

When to Use Which

For 226 (IM Used): Rarely encountered. The response uses Instance Manipulations (IM) as specified. For 524 (A Timeout Occurred): Optimize slow endpoints. Move long-running tasks to background jobs.

Learn More