502 Bad Gateway
The server, acting as a gateway, received an invalid response from an upstream server.
Symptoms
- Gateway error in front of an app server
- Site down behind a proxy
Troubleshooting steps
- Check the upstream application server is running and healthy
- Look at the proxy error log for connection refusals or timeouts
- Restart the upstream service and verify connectivity on the proxy port