Guest Marko30 Posted December 29, 2015 Posted December 29, 2015 Hi guys. Website that I have created is connected to CloudFlare and it's returning Error 522: Connection timed out since yesterday. A lot of people complains that they can't open my site and on the bottom of page it says that problem might be on your side because "request was able to connect to your web server, but that the request didn't finish". Username: marko25Server: Stevie
Tjoene Posted December 29, 2015 Posted December 29, 2015 Have you tried to clear your cache? Both your sites seems to load just fine for me.
Guest Marko30 Posted December 29, 2015 Posted December 29, 2015 Yes of course. I've also tried flushing DNS and opening in other browser and nothing helps. Btw I have one more question. This website uses WordPress and CloudFlare and it's now on HTTPS. If I turn off CloudFlare HTTPS will stop working. Is there any way I can stop using CloudFlare and make redirection from HTTPS to HTTP? I had a lot of problems that was made by CloudFlare and I want to get rid of it but I can't because everyone is accessing my site with HTTPS. I'd like to turn off CloudFlare and redirect people when they visit HTTPS (when is CloudFlare off, HTTPS shows page not found) to HTTP. How can I do that?
Tjoene Posted December 29, 2015 Posted December 29, 2015 <p>For HTTPS to HTTP redirection, you can use this code:</p><p> </p><div>RewriteEngine On</div><div>RewriteCond %{HTTPS} on</div><div>RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]</div>
Guest Marko30 Posted December 29, 2015 Posted December 29, 2015 I've tried but when I turn off CloudFlare, HTTPS is not working and I can't even access page while on HTTP page loads normally so this .htaccess script can't work.
Guest Marko30 Posted December 29, 2015 Posted December 29, 2015 CloudFlare support told me that you need to whitelist all CloudFlare IPs in security software e.g. firewall, antivirus, etc. or if they already whitelisted, that you need to check is your network "healthy" and not overloaded. Here's the list of all CloudFlare IPs - https://www.cloudflare.com/ips/
Max12 Posted December 29, 2015 Posted December 29, 2015 well I did use https without cloudflare , but I guess you must have a certificate and you gotta change the site URL in your software config like from http://example.com to https://example.com
Guest Marko30 Posted December 29, 2015 Posted December 29, 2015 well I did use https without cloudflare , but I guess you must have a certificate and you gotta change the site URL in your software config like from http://example.com to https://example.comYeah. I'm using CloudFlare because they give free SSL certificate.
wolstech Posted December 30, 2015 Posted December 30, 2015 Try a different network connection (e.g. a cell phone on its data plan). Next step after that would be to remove cloudflare and see if your site works (non-https). If neither helps, I'll have the firewall checked.
Guest Marko30 Posted December 30, 2015 Posted December 30, 2015 On mobile networks and with CloudFlare disabled works without any problems. People keeps sending me screenshots with Error 522 how my page is not working so I've made decision that I will get rid of CloudFlare, but you can still check firewall. Maybe someone else is having this problem. However, with CloudFlare disabled I still have problem. I need to redirect people from HTTPS to HTTP because when people go to HTTPS, browsers say that page cannot be opened. .htaccess redirection not working. I've also tried redirection in cPanel but it can only redirect HTTP.
sagnik Posted February 6, 2016 Posted February 6, 2016 Maybe you can change the CloudFlare's NameServers to normal to permanently disable CloudFlare. Can you post the all the dns zone records which are associated with CloudFlare?
Guest Marko30 Posted February 6, 2016 Posted February 6, 2016 Maybe you can change the CloudFlare's NameServers to normal to permanently disable CloudFlare. Can you post the all the dns zone records which are associated with CloudFlare? I have removed CloudFlare completly and now everything works ok.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now