Resolve 502 Bad Gateway error if a site does not open

The blank page with 502 Bad Gateway is a type of error that occurs quite often when browsing the internet, trying to visit a website of even the most well-known ones.
The meaning of error 502 is linked to the invalid response given by the server which acts as a proxy and then connects to the web server that hosts the site and depends, more often than not, on the site itself.
However, with respect to the series of errors 404 or 403, when the page with the 502 appears, it may be that the problem is only temporary or, even, that it happens only once for that site due to a random error, overload or a bad communication between servers.
Sometimes, this error can occur due to a problem on the computer or on the network .
For example it is also possible that there is an improperly configured firewall or even a coding error and that the problem is not resolved until these problems are resolved.
In general, therefore, the site you are trying to access is absolutely online, but the server or one of the intermediate servers that takes the request to the site, which acts as a proxy to forward information from another server, has received a response negative from the latter.
It is called error 502 because that is the HTTP status code used by the server to describe this type of error.
The appearance of this 502 error page is usually with a white background and black writing, but it can change if the server manager has made it more personalized.
Usually called HTTP Error 502 Bad Gateway, but it can also appear under other names.
HTTP 502
502 Service Temporarily Overloaded
Temporary Error (502)
502 Server Error: The server encountered a temporary error and could not complete your request
502 Bad Gateway Nginx
502 Bad Gateway Apache
In the vast majority of the time, this is only a server-side error that cannot be checked .
Sometimes, it's a temporary mistake; sometimes it isn't, there are some things you can try to fix it .
1) Reload the page
Trying to load the site again is the first thing to do to see if it was just a mistake at the moment.
Many times the 502 error is temporary and a simple update could fix it.
On Chrome and most browsers you can press the F5 key to update quickly and repeatedly, until the page you are looking for appears.
2) Check if the site is not available to other people
If at that moment it doesn't work, you can try again later, but in the meantime it would be appropriate to check if it is only us who have the problem or if this error happens to all those who try to reach the site.
There are many tools to check if a site is offline just for us or for everyone, such as downforeveryoneorjustme.com which works well and monitors the activities of every website in the world.
If you receive, in response, that the site does not open for everyone, there is not much to do but wait and try again later.
If the report shows that the site is active, the problem may be with our computer, although for error 502 this ninth is very frequent.
In the event that, however, it depends on us and it is found that only we cannot navigate on that website, then we can try the following solutions .
- Try another browser
It may be that the browser used is badly configured or has problems related to the extensions installed.
An easy way to test it is to use a different browser and see if the site works.
You can use Google Chrome, Mozilla Firefox, Apple Safari or Microsoft Edge. If you can see the error in the new browser as well, then you know that this is not a browser problem and you should try another solution.
- Clear your browser cache and cookies
If you are trying a different browser and it works, it is possible that outdated or corrupt files are cached on the browser with the 502 error.
Removing these cached files and attempting to open the website may resolve the issue.
In another article the guide to clear cache and delete cookies on Firefox, Chrome, Safari, Internet Explorer
- Check plugins and extensions
As mentioned above, extensions on Chrome or Firefox can cause problems loading sites.
You can try disabling all your extensions and then open the website.
This can be done quickly by opening an incognito browsing session.
- Restart PC and Router
If the site is online and accessible to everyone, but no browser on your computer opens it, you can try turning off and on the computer and also the router in order to reset any temporary problems.
- Change DNS server
The 502 error can certainly be caused by a problem with the DNS servers, although it is certainly not the most common cause.
In another article we saw the guide to change DNS on Windows PC, Mac and Router (which is very easy), always advising to use the Google DNS Servers, which are among the most reliable.
READ ALSO: Meaning HTTP errors if a site does not open or load on the browser

Leave Your Comment

Please enter your comment!
Please enter your name here