Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

A 502 bad gateway message indicates that one server got an invalid response from another. In essence, you've connected with some kind of interim device (like an edge server) that should fetch all of the bits you need to load the page. Something about that process went wrong, and the message indicates the problem.


The meaning of "502 bad gateway"

The hypertext transfer protocol (HTTP), a set of rules that regulate the web released by the Internet Engineering Task Force (IETF), governs every internet transaction. In the HTTP system, problems have numbers.

...

The numeric language may seem confusing, but it’s actually quite efficient. One simple number tells you a great deal about why the page won’t load.


502 bad gateway prevention and solutions

502 gateway errors often stem from:

...