Home > Internet

502 Bad Gateway error

a nice image
a nice image
By Genesis and InahUpdated on June 4th, 2022

What is '502 Bad Gateway error'?

502 Bad Gateway error is an HTTP status code error, which may indicate that a server on the inter received an invalid response from another server. The error may be caused by issues between online servers, an issue with your browser, or an issue with your home networking equipment. It could appear in any browser, device, or operating system.

The error may manifest as Error 502, Temporary Error (502), 502 Service Temporarily Overloaded to name a few.

How can you fix '502 Bad Gateway error'?

Some of the common fixes include:

  • Using another web browser
  • Clearing the browser data cache and disabling extensions
  • Configuring the network settings

Please see our in-depth walk-through solutions below.

1. Use another web browser

"502 Bad Gateway error" could be caused by your web browser. Try to refresh the web page by pressing the F5 key. If the error still persists, use another web browser to determine if it is a web browser problem or an issue with your network.

If the error disappears by using another browser, try to clear the cache data or disable the web browser extension, plug-in, or add-on. If the error occurs when using another browser, it is possible that your network is having a problem.

2. Clear browser cache data and disable or uninstall the extension

If “502 Bad Gateway error” only appears on a specific web browser, the browser cache or the web browser extension could be interrupting website access. Try to delete all browser cache, disable, or uninstall the extension to solve the error.

Clear browser cache data and disable or uninstall the extension
Image Credit: genesismarasigan / ErrorSolutions.tech

Clear Browser Cache Data

  1. Run the web browser with an error.
  2. Press SHIFT + CTRL+ DEL key, to open up Clear Cache window.
  3. It should be set From the beginning or All-time, in the Time Range.
  4. Click Clear.
  5. Restart your Browser.
  6. Check if the error is solved.

Disable or uninstall extension

  1. Open a browser.
  2. Google Chrome: chrome://extensions/ into the address bar.
    **Mozilla Firefox:**Shift+Ctrl+A key.
  3. Disable or Uninstall unnecessarily apps.

3. Configure network settings

If all web browsers are experiencing “502 Bad Gateway error”, your network might have a problem. If you are connected to a private network such as school campus and office, it is possible that your internet access is limited or blocked. If you are connected to your home network, try the following below.

Configure network settings
Image Credit: genesismarasigan / ErrorSolutions.tech
  1. Power cycle the device and the network device by shutting it down and removing it from the power source for at least three minutes before turning it back on.
  2. Temporarily disable or uninstall anti-virus, firewall, and proxy.
  3. If you have a separate router and modem, directly connect to the modem.
  4. Configure IP and DNS address to auto obtain. See below for instructions.
  5. Call your Internet service provider, they might be the cause of the problem.

Configure IP and DNS address

Watch it here on YouTube

  1. Go to Control Panel and click View Network Status and Tasks.
  2. Click Change adapter settings.
  3. Right-click Ethernet or WiFi and select Properties.
  4. Highlight Internet Protocol version 4 and click Properties
  5. Select Obtain an IP address automatically and Obtain a DNS address automatically.
    Optional: Input and in the DNS address.
  6. Restart your computer.
Related Topics and Categories