Use Registry Editor at your own risk. Sometimes a 502 bad gateway error can be a Cloudflare problem itself, especially on the free plan. Clear Browser Cookies: Cookies are stored to retain certain data that is required to access a webpage. I will show you through the step by step solve 502 bad gateway error on Nginx Method 1. Another reason you could see a 502 gateway error with your host is also due to the fact that the server is simply not reachable, either because it is down or there is no connectivity. This killing process will terminate requests after a certain of time, this will also cause the website down.
Fixing the 502 bad gateway error Here are some of the methods using which you can easily resolve this 502 bad gateway error. You can always reach out to your host for assistance. To do this, you should do the following. Unfortunately, since Cloudflare is a fully proxy service, there is no quick way to simply disable it. After you have successfully uninstalled your Bad Gateway-associated program eg. Most browsers use the F5 key to refresh, and also provide a Refresh button somewhere on the address bar. Select each extension and try reloading the webpage.
Also restarting Memcached, Apache, Nginx and Purging Varnish from the Manage Services section can help at times. Check Your Plugins and Themes A lot of times the reason for scripts and queries being canceled by the server is due to bad code on your WordPress site, possibly from a 3rd party plugin or theme. Follow us on: Contact us here:. This can happen when you install a new plugin or update a plugin to a new version. What the hell is a gateway? Start Browser in Safe Mode When you run your browser in safe mode, you are essentially running the browser without any supporting extensions, toolbars or add-ons. Contact the webmaster of the website directly, either through their web-form, email or telephone lines. It could very well be due to your hosting provider having issues.
They have also published a detailed post on the same which you may also check. Here is a simple image is shown to understand the 502 error in easy terms. How You Might See a 502 Bad Gateway Error Based on your web server, you might see a different 502 error. As they have the tools and expertise to fix most faults that exist on your line. Please share in the comments so others in the community will also know. The 502 Bad Gateway error displays inside the internet browser window, just like web pages do but spotting it is not as easy as you think. Usually, this 502 error will be due to the network problem and it may be related to the browser issue as well.
So, close all and try reopening it. Before getting deep into all of this options, you must understand what does the 502 Bad Gateway error message mean. For client end issues, please try to clear the web browser cache. When the Web server while acting as a gateway or proxy contacted the upstream content server, it received an invalid response from the content server. This article has also been viewed 28,681 times. Windows Operating System , reinstall the program according to the Microsoft Corporation instructions.
Here is how you can. When you do bring them back, make sure to bring back items one at a time, closing and re-opening the web browser. Also make sure the antenna card is working, and hasn't been disabled by your computer not due to your disabling but by your computer's own disabling. Still, there are some things you can try on your end of things. I have spent 8 days chatting with the hosting support and they are not able to fix this.
Next, click Network and Sharing Center then click on Change adapter settings. Method 6: Disable Proxy 1. Now, you can check if the error is occurring. So, you might see different looking 502 pages on different websites. When it comes to broken webpages, 502, 503, 504 and 500 errors are perhaps the most difficult to solve.
Is Bad Gateway Error 502 Due To My System? Open Google Chrome and press Cntrl + H to open history. Read more below about what causes this error and some solutions on how to quickly resolve it. If you liked this post, feel free to share it with your friends by using the social media share shortcuts below, or simply leave a comment. Both work pretty much the same. The above steps apply our default permissions to all your files in an application and change the ownership of all these files to that of your master user. Thus, for Google Chrome, I recommend you check out my post on , for more details.
Close everything and you may be able to Fix 502 Bad Gateway Error. This can cause the 502 error. So, either your source server is down or having some intermittent issue. Yet, this is typically a server side issue on which we have little or no control. If you are a Kinsta client, you can easily see errors in the log viewer in the MyKinsta dashboard.
Search which extension is causing the error and then take action. We have seen many ways which we can try to fix the 502 error. If not, proceed to the next methods. On Macs, this is done by pressing Cmd + Shift + R. If you are using Google Chrome then try switching to Firefox, Safari or Microsoft Edge etc. But you can try changing them on your device, router or computer. You can check with your current WordPress host about what values are set on your server and if they can be increased.