Pizza VPN RU

Why does a gateway return HTTP 502?

A gateway or proxy received an invalid response from an upstream server. The system showing the error and the application behind it can be separate.

HTTP status directory · 502 Bad Gateway

What to check

Record the time, hostname and identifier shown on the error page. The operator can correlate gateway and application logs.

Interpreting the result

A 502 describes an invalid upstream response. A gateway that did not receive a timely response can report 504.

Who was waiting when HTTP 504 occurred?

Definition in the standard · 502 · IANA registry