How to Handle a 502 Bad Gateway Error


The 502 Bad Gateway error shows that that an online server got an invalid response from another online server. Thus, since it is generally a network error, the problem doesn't lie with your computer nor your Internet connection.

But if you want to be sure that nothing is wrong on your end, you can try these fixes:

Webpage Reload

Even if a 502 Bad Gateway error is actually a networking error that is out of your control, it can be very temporary. Reload the URL a number of times over and see what happens. Check out this website at and know more about payments.

Browser Issues

> Close all browser windows, start a new session and log on to the page you were trying to access.

The error you got can also be browser-related. A quick restart of your browser can end the issue. 

> Tidy up your browser's cache and remove cookies.

Outdated or corrupted files and cookies stored by your browser can also cause gateway issues. If that is the cause of the error, simply junking those cached files will fix the problem.

> Open a browser in Safe Mode.

Running a browser in Safe Mode means there will be no extensions or add-ons, including Payments Rating Tool , as it will be working on default settings. If the Gateway error is no longer there when your browser is on Safe Mode, one of your browser extensions, or your browser settings are probably causing the problem. You can either reset your browser settings to default or remove the extension that you think is responsible for the error. 

> Try using another browser.

If you tried another browser and the gateway problem doesn't appear, then it must be your original browser that is having issues. Simply reinstall that browser and see if that does it.


There can be temporary issues that involve your computer and the way it connects to your network, and that could be behind the 502 errors, especially if it occurs on more than one website. In such a case, a restart will definitely help.

Networking Equipment

Problems with networking devices like modems, switches and routers can also cause 502 Bad Gateway errors. The solution could be a quick restart.

DNS Servers

You can also try changing the DNS servers on your computer or device, or your router. Some gateway errors are caused by DNS server issues.

The Website

If nothing works, it can also be a good idea to get in touch with the website you're trying to access. There's nothing to lose. If the problem is from their end, they will usually have Gateway Issues Tool experts to handle the issue, but it's still okay to tell them about your experience.

Your ISP

Lastly, after checking your browser, computer and network, you can call your ISP. Yes, they too can be the cause of 502 Bad Gateway errors. If you chose a good ISP, you shouldn't have a problem talking to them about this.