HTTP 502 Bad Gateway Checker & Guide
Catch upstream origin crashes and reverse-proxy 502 Bad Gateway failures across large URL sets.
- 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 502
5xx Server Errors
RFC 9110
What HTTP 502 Bad Gateway Means for SEO
Reverse proxy or CDN received an invalid, crashed, or empty response from the upstream server.
- Status Class
- 5xx Server Errors
- Specification
- RFC 9110
- Googlebot Handling
- Upstream crash between proxy and origin; slows crawling and risks de-indexing.
HTTP 502 Bad Gateway means a gateway, CDN, or reverse proxy (such as Cloudflare, Nginx, or an AWS ALB) reached the upstream application server, but received a malformed, truncated, or connection-reset response.
502 errors signal unstable infrastructure to search engines. Repeated 502s during a Googlebot crawl immediately shrink crawl budget and, if left unresolved over days, cause affected pages to drop out of the index.
Common Causes of HTTP 502
- PHP-FPM, Node.js, or Gunicorn worker processes crashing or restarting out-of-memory mid-request.
- Nginx/ALB buffer overflows from overly large upstream response headers or cookies.
- Origin TLS handshake mismatches or firewall drops between Cloudflare and your origin.
How to Audit & Fix HTTP 502 Issues
- Run your key category, product, and sitemap URLs in bulk to catch template-specific 502s.
- Inspect PHP-FPM / Node / container OOM logs and increase upstream worker memory or buffer sizes.
- Verify TLS certificates and firewall whitelists between your CDN/proxy and origin server.
Test all URLs in your sitemap to spot intermittent or template-level 502s:
XML Sitemap Status CheckerHTTP 502 Frequently Asked Questions
- What is the difference between 502 Bad Gateway and 504 Gateway Timeout?
- 502 means the upstream server returned an invalid/broken response (or crashed mid-connection); 504 means the upstream server took too long and never answered before the proxy timeout.
- Can oversized cookies or response headers trigger a 502?
- Yes - on Nginx, huge upstream Set-Cookie or CSP headers commonly exceed proxy_buffer_size and produce a 502 Bad Gateway.
- How fast should I fix 502 errors for SEO?
- Immediately - brief 502 glitches recover quickly, but persistent 502s throttle Googlebot crawl rate and drop pages.