HTTP 520 Web Server Returned an Unknown Error Guide
Catch intermittent Cloudflare 520 origin crashes in bulk and keep edge-proxied pages healthy for SEO.
- 100% Free - No Paywall
- No Login or Signup
- No URL Limits (400,000+ Tested)
Input URLs
Enter URLs directly, upload a .txt/.csv file, or provide one or more XML sitemap URLs.
HTTP 520
5xx Server Errors
Cloudflare Extension
What HTTP 520 Web Server Returned an Unknown Error Means for SEO
Cloudflare-specific error when the origin returns an empty, invalid, or crashing response.
- Status Class
- 5xx Server Errors
- Specification
- Cloudflare Extension
- Googlebot Handling
- Cloudflare edge 5xx error; breaks crawling and harms indexation if recurring.
HTTP 520 is a Cloudflare-specific 5xx error returned when Cloudflare connects to your origin server, but the origin resets the TCP connection unexpectedly or sends an invalid/empty HTTP response (such as >16 KB headers or missing status lines).
To users and Googlebot, a Cloudflare 520 is a hard 5xx failure page. Intermittent 520s on product or landing pages waste crawl budget and cause Search Console 5xx server error spikes.
Common Causes of HTTP 520
- Origin server process crashing (segfault, PHP/Node fatal error) mid-response before sending headers.
- Response headers (large Set-Cookie chains, massive Link/CSP headers) exceeding Cloudflare’s 16 KB header limit.
- Origin sending invalid HTTP syntax, empty responses, or Content-Length mismatches.
- Keep-alive connection resets or firewall drops on the origin side.
How to Audit & Fix HTTP 520 Issues
- Audit your XML sitemap and high-traffic URLs in bulk to catch reproducible 520 templates.
- Inspect origin error logs and reduce oversized response headers or bloated session cookies.
- Confirm Cloudflare’s published IP ranges are never rate-limited or dropped by origin firewalls.
Scan your entire XML sitemap to uncover template-specific 520 crashes:
XML Sitemap Status CheckerHTTP 520 Frequently Asked Questions
- Is HTTP 520 an official RFC status code?
- No - 520 through 527 are Cloudflare-specific 5xx proxy error codes communicating edge-to-origin failures.
- Why does a page show 520 intermittently?
- Common culprits are random PHP/Node worker crashes, bloated cookies on certain sessions, or origin firewall connection resets.
- Does Googlebot treat Cloudflare 520 like a 500 error?
- Yes - Googlebot treats all 5xx responses as server errors that throttle crawling and risk de-indexing if persistent.