Hi! I checked already: https://community.cloudflare.com/search?q=ERR_TOO_MANY_REDIRECTS
but if more i read if more i get confused… So sorry that i open one more topic to this error…
I have a website: http://devmonkeys.io/ it worked for months perfectly with cloudflare. but today i checked my site and realized that its not working anymore. i call my hoster and ask for it. but he told me that there are no request logs. so the problem must be on cloudflare.
What can this be? i cleared the complete cloudflare cache, but still same issue. i dont changed any configs for months. so i think its not a config problem.
Making a request directly to your origin I see the redirect to http from https. So you need to look at your origin to remove that redirect.
% curl --resolve devmonkeys.io:443:18.104.22.168 https://devmonkeys.io/ -Ik
date: Fri, 27 Nov 2020 00:37:39 GMT
content-type: text/html; charset=iso-8859-1
From the headers on your domain, I can see that you have “Always Use HTTPS” enabled, so any HTTP requests will be redirected by Cloudflare to HTTPS, which is good, and once you remove the redirect above you should be OK, provided your origin actually serves your website over https.
The certificate on your origin looks like it is for your hosting provider, so you should look to replace that with either a real cert from a CA like Let’s Encrypt, or a Cloudflare Origin Certificate. Also, you should try and deny requests. to your origin except from Cloudflares IP addresses (my curl command above should be blocked by a firewall!)
This topic was automatically closed after 30 days. New replies are no longer allowed.