What is the 502 Bad Gateway error and how to fix it

What is the 502 Bad Gateway error and how to fix it

One of the most annoying things that can happen to us is quietly browsing the web and… Boom! Error 502 Bad Gateway. This has surely appeared to you on at least one occasion, and boy is it annoying, since it prevents access to certain web pages. However, this has a reason, and we are talking about it on this occasion.

Next, we explain what is the 502 Bad Gateway error and why it happens. At the same time, we talk about whether or not it can be solved to return to browsing calmly and without problems of connection cuts when accessing any website.

What is the 502 Bad Gateway error?

The said. You have probably experienced the 502 Bad Gateway error before. If not, you're in luck, since it's about one of the most common mistakes that usually appear when we enter or try to enter, rather, a web page, blog or any portal.

But this bug It's usually not our fault. In fact, it is not, not even in a small part, the result of anything we have done at the time of entering, it is worth mentioning. So if you have started to modify the browser settings, restart the router or do something else, nothing has been necessary -at least not completely-, since everything should be fine on your computer; Take that for granted... at least in relation to the error, which is something that is completely out of our hands.

In question, the 502 Bad Gateway error is a matter of servers and an unwanted response from them. More in depth, it happens when a server gets an invalid response when acting as a proxy or gateway. This means that the request to enter a web page cannot be processed and, therefore, it is impossible to access said web page, at least at that time.

How to solve it?

As we said, The 502 Bat Gateway error is a server thing, so there's not much you can do to fix it on your own. This usually only appears once, since it can be caused by an invalid response at the moment, which does not necessarily mean that it will always happen. So this error usually stops when we refresh the web page, just by pressing the F5 key on the keyboard or by clicking the refresh button next to the address bar of the web browser you use. In other words, you have to wait if the error continues to appear.

Something you can also try, although without much hope, is Clear the browser's cache and cookie data. First, try the cache and cookies of the web page that gives you the 502 Bad Gateway error. If this doesn't work, try clearing all your browser's cache and cookies.

For that, go to your browser settings. To do this in Chrome, tap on the three dots icon that appears in the upper right corner of the screen, just below the close button. Then look for the “More tools” box and click on it, and then enter “Clear browsing data”.

error 503
Related article:
Error 503 on YouTube: what it means and how to fix it

Then select the boxes for "Cookies and other site data" and "Cached images and files." Then click on the “Clear data” button.

In other browsers these steps change, although they have the same function. In Mozilla Firefox, for example, you should look for the "Tools" button, which is usually located at the top left of the screen. Then you have to press the “Settings” entry and then the “Privacy and Security” entry. Once there, you have to look for the “Cookies and site data” section, and then click on the “Clear data” button. You will find two boxes, which are "Cookies and Site Data" and "Cached Web Content"«; mark them and finally click on the “Clear” button.

Of course, before deleting the data, information, cache and cookies of the websites in the browser you use, keep in mind that the sessions initiated in social networks and other web pages will be closed automatically. Saved passwords and other data that is stored in the autocomplete section, such as email addresses, for example, may also be deleted.

On the other hand, If you're using a particular browser and still getting the 502 Bad Gateway error, switch, at least for a while, to a different one, in order to determine if it is a browser problem. You can also try using a VPN, which allows you to connect to servers in other countries and simulate that you are making the request to enter the website from another part of the world.

There is also the option of restart the computer or laptop, the router and even the modem. In turn, it is worth contacting the Internet provider, in order to see if they can offer an alternative solution.

Error 0x80070570 Windows
Related article:
Error 0x80070570: what it is and how to fix it

Another thing that can work is start the browser in incognito, with which the various extensions installed in the browser would be disabled in this mode.

  • To start Chrome in Incognito, all you have to do is click on the three dots icon located in the upper right corner of the screen, and then click on the New incognito window entry. You can also use the key combination “Ctrl + Shift + N”.
  • If you have Mozilla Firefox, you just have to look for the icon with three horizontal bars that is positioned in the upper right corner and click on it. Then tap the New Private Window checkbox. You can also use the key combination «Ctrl + Shift. + P».

What was said at the beginning. If the 502 Bad Gateway error continues to appear when entering a specific website, It only remains to wait for the response from the server to which the request is made to enter it to be valid. So will have to try later.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Actualidad Blog
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.