HTTP

HTTP 423 Locked vs 522 Connection Timed Out

HTTP 423 (Locked) is a 4xx Client Error response, while 522 (Connection Timed Out) is a 5xx Server Error response. 423 indicates that the resource is locked and cannot be modified (WebDAV). In contrast, 522 means that cloudflare-specific. TCP connection to the origin server timed out.

Description

The resource is locked and cannot be modified (WebDAV).

When You See It

When trying to edit a file that another user has locked in WebDAV.

How to Fix

Wait for the lock to be released, or request the lock owner to unlock it.

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.

423 is a 4xx Client Error response, while 522 is a 5xx Server Error response.

2.

HTTP 423: The resource is locked and cannot be modified (WebDAV).

3.

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

4.

You encounter 423 when when trying to edit a file that another user has locked in WebDAV.

5.

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

When to Use Which

For 423 (Locked): Wait for the lock to be released, or request the lock owner to unlock it. For 522 (Connection Timed Out): Check origin server health. Verify firewall rules. Check for network congestion.

Learn More