HTTP

HTTP 300 Multiple Choices vs 521 Web Server Is Down

HTTP 300 (Multiple Choices) is a 3xx Redirection response, while 521 (Web Server Is Down) is a 5xx Server Error response. 300 indicates that the request has more than one possible response. The client should choose one of them. In contrast, 521 means that cloudflare-specific. The origin server refused the connection.

Description

The request has more than one possible response. The client should choose one of them.

When You See It

When a resource is available in multiple formats (e.g., different languages or media types).

How to Fix

Select the appropriate resource variant. Send an Accept header with your preferred content type.

Description

Cloudflare-specific. The origin server refused the connection.

When You See It

When Cloudflare can't establish a TCP connection to the origin server.

How to Fix

Check that the origin server is running and the firewall allows Cloudflare IPs.

Key Differences

1.

300 is a 3xx Redirection response, while 521 is a 5xx Server Error response.

2.

HTTP 300: The request has more than one possible response. The client should choose one of them.

3.

HTTP 521: Cloudflare-specific. The origin server refused the connection.

4.

You encounter 300 when when a resource is available in multiple formats (e.g., different languages or media types).

5.

You encounter 521 when when Cloudflare can't establish a TCP connection to the origin server.

When to Use Which

For 300 (Multiple Choices): Select the appropriate resource variant. Send an Accept header with your preferred content type. For 521 (Web Server Is Down): Check that the origin server is running and the firewall allows Cloudflare IPs.

Learn More