nginx
proxy_error
ai_generated
true
502 Bad Gateway
ID: nginx/502-bad-gateway
80%Fix Rate
85%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 1 | active | — | — | — |
Root Cause
Upstream server not responding or crashed.
genericWorkarounds
-
90% success Check upstream server process is running and healthy
-
88% success Verify proxy_pass URL and port match upstream config
Dead Ends
Common approaches that don't work:
-
Increase proxy_read_timeout to hours
78% fail
Clients wait indefinitely
-
Remove upstream health checks
85% fail
Routes traffic to dead backends