Knowledge base

1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!

Resolve a 502 Bad Gateway error

This guide details the "502 Bad Gateway" errors that can be encountered when visiting a website.

 

Preamble

  • The 502 Bad Gateway error occurs when the server acting as a gateway between the browser and the origin web server receives an invalid response.
  • This error can be caused by an overloaded web server, communication issues between a CDN and the hosting web server, or a misconfigured proxy server.
  • Sometimes, the error can be caused by a bad entry in the DNS server.

 

Troubleshooting steps

To resolve the 502 Bad Gateway error, you often need to proceed by elimination:

  • Check if the server is temporarily overloaded: simply reload the page after a few minutes for the error to disappear.
  • Clear the browser cache.
  • Try from another browser.

Has this FAQ been helpful?