This is a Cloudflare related issue being that when I deactivate Cloudflare for my domain (“Pause Cloudflare on Site”) that fixes this. Only when Cloudflare is activated is this issue present.
The reason this is a big deal is because our website hosts an API used for authenticating users, the API can only work over port 80 (http), so being that when Cloudflare is enabled I cannot access my website over http none of our users can authenticate through our API.
We encrypt the traffic. All data is encrypted when received and sent to api. But what happens is a connection timeout. When trying to access the website via http the page loads for a few seconds, then the Cloudflare error “Connection Timed Out” is served. And like I said previously, when I disable Cloudflare for the domain “Pause Cloudflare on Site” this issue is not present. Could it be a Cloudflare SSL bug or something along those lines?
So being that I have an SSL certificate installed on my origin and on cloudfalre I have SSL on strict. Results in me being unable to access the website via http? When I try to access my website via “http://” the website loads for around 10 seconds, then timeouts. The website only works with “https”. I’ve also change Cloudflares SSL to “Flexible”, And I am still unable to connect to the website via “http://”
If I disable Cloudflare for the domain the website works on both http and https, but when Cloudflare is active the website only works with https, NOT http
How would it be configuration settings? What needs to be changed to resolve it? I didn’t change any settings on the origin or Cloudflare before this started happening. Didn’t have any issues for around 6 months until this just randomly started yesterday. I’ve changed SSL to “full” (not strict) in Cloudflare and the issue is still present.
I’m under attack mode most certainly is not the issue. But I’ve gona ahead and disabled it. The issue is still present. The website cannot be accessed via http (if the website is attempted to be accessed via “http” the website loads for around 10 seconds, then I get a Cloudflare connection timeout error). The website works fine over https, but not http. No settings were changed on my end before this randomly started happening yesterday.
Additionally, if I disable Cloudflare for the domain “Pause Cloudflare on Site”, both http and https work fine. But as soon as I re-enable Cloudflare for the domain I can no longer access the website via http. I didn’t change any settings before this issue began.
Yes, there were a lot of changes ever since this started happening because I was trying to fix the issue. Until this started happening, no changes were made. But yes thanks for the help. Not sure at all what would be causing this random issue. Possibly some sort of bug?
Hi @ReflexDev, doubt it’s a bug, but that’s may still be TBD. Can you open a ticket with the support team (to get in the queue with them early in case we need them). Still looking @page rules and audit log for clues…
Thanks. Yeah it’s very strange, I have all Cloudflare IP ranges whitelisted in my servers iptables. I’ve read somewhere online that this could be an issue with Cloudflare’s page rules, and a few other things. Though none of my page rules would be causing this maybe it’s some sort of error? I’m not sure. Just super strange this started happening out of no where.
Removing and re-adding is certainly a good ctrl-alt-del approach, but fear you may ultimately work your way to same situation. You paused and re-enabled page rules yesterday so I’m assuming that did not change anything. An option short of removing the zone is removing the cert on your origin and set ssl to flexible.
Thanks for the reply. I will try deleting the current SSL installed on my origin server and install a Cloudflare Origin Certificate. But, shouldn’t SSL not matter? Being that the issue is that I cannot access the website on HTTP (port 80) wouldn’t SSL not effect that? I can access the website fine on https:// (port 443). But I cannot connect to the website via port 80 (http://) it will just timeout?
Yeah, just now I deleted the SSL installed on my origin server, then I installed a Cloudflare Origin Certificate. Everything is working fine over SSL (https port 443), but http (port 80) is still not working. I’m able to access the website just fine via https:// with the newly installed Cloudflare Origin Certificate but not http://
And yeah it probably won’t help deleting then re-adding the site to Cloudflare but I’ll give it a shot. I have all Cloudflare IP ranges whitelisted in my servers iptables/firewalls so I don’t have much else to try.
Also, I’ve noticed there have been some logs from Cloudflare trying to use port 8080, should I open the port 8080?