Server responds with HTTP 5xx
2026-07-06
· updated 2026-09-05
Problem
The last crawl received an HTTP 5xx response (500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable, 504 Gateway Timeout...). The request reached the server, but the server-side failed.
Why it matters
- Users see an error page; repeated 5xx responses cause search engines to slow the crawl and eventually drop affected URLs.
- 5xx usually signals a real defect: crashing app code, an exhausted database pool, a dead upstream, or a misconfigured proxy.
How to fix
- Read the application/proxy error logs for the exact timestamp.
- Map the code:
500app exception -502/504upstream dead or timing out -503overload or maintenance mode left on. - Fix the defect and add monitoring/alerting on the 5xx rate.
- If maintenance is intentional, serve
503with aRetry-Afterheader — crawlers back off politely.