Http Error: 502 Bad Gateway

Bad gateway

If you receive the 502 bad gateway status code, it means that the server is a gateway or a proxy server that is not receiving a valid response from the backend server(s) that serve the request.

Here are some things to check when encountering this error:

  • The backend servers responsible for handling the requests are healthy.
  • The proxy server is configured correctly.
  • The network connection between the proxy server and backend servers is healthy.
  • Check if the ports between the proxy server and the backend servers are not being blocked by the firewall.

RFC #: 7231 section 6.6.3

— Need technical help? 👉 Start with a reliable SEO Audit

Imran Selimkhanov | Founder at Productive Shop

Imran Selimkhanov

Imran is the founder and CEO of Productive Shop. He writes on B2B demand generation and SEO strategy topics to help startups understand how to win digital share of voice. Prior to Productive Shop, Imran led demand generation at an Oracle consultancy, ran an e-commerce site servicing LE teams and helped build PMO offices at technology startup companies. When he’s not at work, Imran can be spotted hiking in the Rockies, honing his clay shooting skills and tumbling off of black diamond ski tracks due to overconfidence in his skiing abilities.

Get the latest blog updates from Productive Shop! Subscribe to our blog: