Knowledge base

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

Troubleshooting a 502 Bad Gateway Error

Update 08/06/2026

This guide details the "502 Bad Gateway" errors that you may encounter when visiting a website.

 

Introduction

  • 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 web hosting server, or a misconfigured proxy server.
  • Sometimes, the error may be caused by an incorrect entry in the DNS server.

 

Troubleshooting steps

To resolve the 502 Bad Gateway error, it is often necessary to proceed by elimination:

  • Check if it is not a temporary server overload: simply reload the page after a few minutes and the error should disappear.
  • Clear your browser's cache.
  • Try using a different browser.

Has this FAQ been helpful?