502 Bad Gateway Errors and Troubleshooting Techniques
HomepageArticles502 Bad Gateway Errors and Troubleshooting Tec...
This article was originally published in Turkish on and migrated from our previous website. This English version translates the archived article. Promotions, prices, product features, roles and service availability are historical information, not current offers or guarantees.
502 Bad Gateway is an HTTP status code that occurs when one server cannot obtain a valid response from another. It generally happens during communication between websites or applications. Users seeing this message usually think the page failed to load or the server is not responding.
Causes
Possible causes include:
Server overload: Excessive traffic may prevent a response.
Incorrect configuration: Errors in server settings may cause communication problems.
Firewall problems: Firewalls may block certain requests.
DNS problems: The error may occur if DNS does not point to the correct IP address.
Application errors: Errors in the web application may also cause it.
How Can I Resolve It?
Refresh: Check whether it is a temporary problem by refreshing the page.
Clear browser cache: This may remove the effect of old or damaged data.
Try another browser: Check whether your browser is responsible.
Use a VPN or proxy: If your internet connection has a problem, try changing it with a VPN or proxy.
Server-Side Solutions
Check server status: Verify it is running. A server that is off may need to be started.