Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

502

An HTTP error code meaning "Bad Gateway".

A server can act as a gateway or proxy (go-between) between a client (like your Web browser) and another, upstream server. When you request to access a URL, the gateway server can relay your request to the upstream server. "502" means that the upstream server has returned an invalid response.

Normally the upstream server is not down (i.e. furnishes no response to the gateway/proxy), but simply does not understand the same data-exchange protocol as the gateway/proxy. Internet protocols are quite explicit, and so a 502 usually means that one or both machines were incorrectly or incompletely programmed.

Learn more

Document Tags and Contributors

 Contributors to this page: Andrew_Pfeiffer, klez, ajinkya_p
 Last updated by: Andrew_Pfeiffer,