HTTP Status Code 502
A 502 Bad Gateway error message means there's a communication issue between servers. It happens when a server acting as an intermediary, like a proxy server, gets an invalid response from another server it needs to reach to fulfill your request.
Here's a breakdown of the situation:
- You try to visit a website.
- Your browser contacts a server (often a proxy server) to get the website's content.
- That server then talks to another server (the origin server) that actually holds the website's files.
- If the intermediary server gets a garbled or nonsensical response from the origin server, it throws a 502 error.
In short, the 502 code indicates a problem on the website's end, not on your device.
Other 5xx Status Codes
- 500 Internal Server Error
- 501 Not Implemented
- 502 Bad Gateway
- 503 Service Unavailable
- 504 Gateway Timeout
- 505 HTTP Version Not Supported
- 506 Variant Also Negotiates
- 507 Insufficient Storage
- 508 Loop Detected
- 510 Not Extended
- 511 Network Authentication Required
- 521 Web Server is Down
- 525 SSL Handshake Failed