How do I fix Error 502?

How do I fix Error 502?

Troubleshoot a 502 error message

  1. Refresh the page.
  2. Start a new browser session or load the site on a different browser.
  3. Restart your computer and networking equipment.
  4. Clear your cache and cookies.
  5. Change your DNS server.
  6. Contact the website administrator or your internet service provider.

What causes an error 502?

The HyperText Transfer Protocol (HTTP) 502 Bad Gateway server error response code indicates that the server, while acting as a gateway or proxy, received an invalid response from the upstream server.

Is a 502 error my fault?

A 502 Bad Gateway Error is a general indicator that there’s something wrong with a website’s server communication. Since it’s just a generic error, it doesn’t actually tell you the website’s exact issue. When this happens, your website will serve an error web page to your site’s visitors, like the photo below.

What is a 502 proxy Error?

What’s an HTTP 502 An HTTP 502 – bad gateway server error response code indicates that the server, while acting as a gateway or proxy, received an invalid response from the upstream server. The timeout of the proxy was reached prior to the request completion. If the connection proxy > server drops.

Why am I getting a Cloudflare error?

Security solutions at your origin may block legitimate connections from certain Cloudflare IP addresses. The two most common causes of 521 errors are: Offlined origin web server application. Blocked Cloudflare requests.

How do I fix Cloudflare error?

How To Fix Cloudflare Error 520: Web Server is Returning an Unknown Error

  1. Search Error Logs For Device Resets.
  2. Restart PHP Applications On Your Origin Server.
  3. Whitelist Your Cloudflare Origin Server IP Address.
  4. Check Response Headers From Your Cloudflare Origin Web Server.
  5. Lighten Your Cookie Load.