A 502 Bad Gateway error means invalid response was received by one online server from another. Hence, because it is often a network error, the problem would have nothing to do with your Internet connection or your computer.
But if you want to be certain that there is nothing wrong from your side, you can try the following options:
A Simple Plan: Tools
A 502 Bad Gateway error may actually be a networking error that is beyond your control, but it can end very quickly. Reload the URL a number of times over and see what happens.
What Has Changed Recently With Tests?
> Close all open browser windows, open a new one, and load the URL you were trying to access.
The error you got may also be related to your browser use. A quick browser restart can solve the puzzle.
> Tidy up your browser’s cache and remove those cookies.
Outdated or corrupted files and cookies your browser stores, can also cause 502 problems. If that is the cause, just junk those cached files and you’re done.
> Open your browser in Safe Mode.
A browser in Safe Mode runs on default settings, so absolutely no add-ons or extensions, including toolbars. If the 502 error doesn’t appear while your browser is running on Safe Mode, it is likely that a browser extension or setting had caused of the issue. Revert to your default browser settings or, if you know what extension is responsible for the error, just remove it.
> 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. Just reinstall that browser and check 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.
Bad Gateway errors can also be due to issues with network equipment like modems, switches and routers. The solution could be a quick restart.
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.
If things are still unsuccessful, try calling the website directly. You lose nothing. If the problem is from their side, you can still them about your experience.
Lastly, after checking your browser, computer and network, you can call your ISP. Yes, even they can cause these errors. If you picked a good ISP, talking to them about this will not be a problem.