Err_too_many_redirects

I’m recieving this error while opening my site using chrome:

ERR_TOO_MANY_REDIRECTS

this error mainly uccurs when i try to access site without typing www.
thought it loads smoothly including www. in the url
i’m using cloudflare cdn in proxied mode, as shown in this image

my domain name is dadhesab.ir and my netlify name is : elated-mcnulty-fb4e7e
and i have set my domain including www as primary domain.
any kind of help would be appreciated. i’ve done search in forum and google with no luck.

Since you are using Cloudflare, please take a look at this post: [Common Issue] Why isn’t my SSL certificate provisioning automatically with Cloudflare & Netlify? Are there other problems with using Cloudflare in front of Netlify?. There are a couple of things there that should help you resolve your issue.

Actually i guess i got rid of the problem by changing cloudflare settings from flexible to “full”

1 Like

thanks for sharing your solution, @mdbaniani!