computer software

How to Troubleshoot 502 Bad Gateway Errors?

Do you know about the 502 Bad Gateway Errors? Probably, we all know about this error, though it’s a very common error. Whenever anyone receives this error, it simply means that the server which is acting as a gateway to easily facilitate to take your request to the server and also bring response back which has received an invalid or no response at all. Whenever any of your connection is broken, or any issue in the server side arises which returns you an invalid response.

While this is a server-level based error, there are still few things that you could try at your end and then see if it will work or not, sometimes, by simply pressing Ctrl + f5 does not help you.

Steps to Troubleshoot 502 Bad Gateway Errors

However, this error 502 Bad Gateway might show up on many other websites. Generally, this error displays a message on your screen WU_E_PT_HTTP_STATUS_BAD_GATEWAY

Separately from the 502 Bad Gateway error, sometimes some others errors occur which are like:

  • Error 502.
  • 502 Proxy Errors.
  • 502 Server Error: The server encountered a temporary error and could not complete your request.
  • Temporary Error (502).
  • Bad Gateway: The proxy server received an invalid response from an upstream server.
  • HTTP 502

End User Solution

  1. Flush DNS, reset Winsock and reset TCP/IP

Sometimes, due to lots of other reasons the websites don’t even resolve the error, and one foremost reason is that the DNS in your PC still remembers old IP. So always make sure that flush the DNS, reset Winsock and then also need to reset TCP/IP.

  1. Change the DNS

For this, first, you need to try changing your DNS to a public DNS like any Google Public DNS, Open DNS, Yandex DNS, Comodo Secure DNS or might be some other DNS. We will also suggest you some free tools like DNS Jumper and QuickSetDNS which will help you in changing your default DNS settings with just one click.

  1. Check Network Cables, Restart Your Router and Reconnect it

To check the Network Cables, first, you need to make sure that your cable is connected properly or not to your PC or your router. If any users are using a Wi-Fi connection, then restart your router once. And finally, you also need to forget the previously connected WI-FI and then reconnect it.

Server Side Resolution

If any user is running any website and found an error, then they need to follow the following steps which are discussed below:

  1. Set Lower TTL.
  2. Check it properly that your server is stable or not.
  3. Use any Security Plugin on Server.
  4. Always try using the CloudFare like services.

Aida Martin is a self-professed security expert; She has been making the people aware of the security threats. Her passion is to write about Cyber security, cryptography, malware, social engineering, internet and new media. She writes for Norton security products at


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s