Is your Website Showing Error 522, then thats a common error and lots of website owners face this problem. Either you are using WordPress or any other CMS you may face this Error 522 Connection timed out.
So, we have got a simple and easy way to fix error 522. But before that you should know what is error 522 and why it occurs.
What is Error 522?
Error 522 is a connection timed our error, it means that the service tried to contact your web server but it didn’t get any response for a certain timed and the connection to the server was disconnected due to that certain timed ended.
Every host has a response time and the website responds with a message within that certain time. If any website couldn’t respond to the browser request or any service request within that time frame, then the website will show an error 522.
Why Cloudflare Error 522 occurs?
Since cloudflare is a service and when cloudflare contacts your web server to request your website content and the server didn’t responds to that request within the timeframe then cloudflare shows an Error 522.
There are 2 different types of Error 522 on cloudflare:
- Before a connection is established, mostly within 15 secs
- After a connection is established, the webserver acknowledge cloudflare request within 90 secs.
So lets learn how to fix Error 522 connection timed out.
How to Fix Error 522 Connection Timed out?
Most of the time that connection time out Error 522 can be fixed by altering or changing to default for the following settings.
- or contact your hosting server company.
The second most common problem for this error is due to overload of the web server. When your website requests more resources than it is allocated, then this error may appear for few minutes until the web server resources are within limit.
Some other causes of this problems are:
- The origin IP address in your Cloudflare DNS app does not match the IP address currently provisioned to your origin web server by your hosting provider.
- Packets were dropped at your origin web server.
This causes are rare and it happens only on a few website.
Fixing the Error 522
To fix the Error 522, you can try this methods. This methods can fix the Error 522. There is no 1 solution available for this fix.
You have to try all of them and any 1 of the solution can fic your Error 422 problem.
So, here is what you need to do to fix the Error 522 Connection timed out.
- Check if your origin webserver is active or not.
- Check if your web server is accepting HTTP request.
- Verify your DNS settings in cloudflare
- Check for your server resources whether its over loaded.
- Check if your webserver has blocked cloudflare reuqest or cloudflare IP address.
- Check your network routing.
- Restart your internet router.
- Check whether the Keep Alive Cloudflare service is diabled.
- Check whether your web server is offline or under maintainance.
For most of this solution, you just need to contact your hosting provider and ask them to check the following.
This error is mostly due to overloaded web server, if you are using a shared hosting than this problem is very common.
We recommend Bluehost for this solution. Switch to Bluehost Shared Hosting starting at just $2.35/month.
If your web hosting company says that everything is fine on their side than you need to either disable the cloudflare or contact cloudflare support.
I hope this article has helped you choose whether betterlinks is a perfect fit for you or not. If you have any queries, you can comment below or contact us.
We strongly recommend this plugin for link shortening as it is very fast, easy to use, and has the required features.
That’s all. We hope that this review helped you understand betterlinks and get a clear view of its merits and demerits.
However, your needs may be different from mine. Which plugin is your favorite, and are you currently using it on your site? Do you have any other recommendations to add? Please voice your thoughts in the comments below!