Too many redirects error instead of expected 5xx error

What is the name of the domain?

pieweb.site

What is the issue you’re encountering

My server is shutdown, as in I ran “sudo shutdown” on it. Usually Cloudflare should respond with some error like 502 or 504 when the server isn’t running, but if you visit my website right now the browser displays an ERR_TOO_MANY_REDIRECTS message. All resources I’ve been able to find say that the issue stems from the server redirecting http traffic to https, however since my server is not https enabled or even powered on that obviously can’t be the issue, since it can’t redirect traffic while powered off. All resources say the same thing, there doesn’t seem to be any resources that address this issue. I have no idea what the issue could be.

pieweb.site (not proxied) responds from Squarespace…

curl -i https://pieweb.site/
HTTP/2 301
age: 0
date: Sun, 03 Nov 2024 13:10:47 GMT
location: http://www.pieweb.site/
server: Squarespace
set-cookie: crumb=BTs5KE1z3TP+MmU1ODk0OTc2OTQzNzQ1ZDYxYTkxNDJiY2FkNjgx;Secure;Path=/
x-contextid: KLcMBgBk/gwy8LpCG
content-length: 0

…and redirects to https://www.pieweb.site (proxied) which then redirects to itself on Cloudflare…
https://cf.sjr.org.uk/tools/check?92b6a2928123432a8d3ed74d25cd04f2#connection-server-https

So how exactly do I fix that?

Check whether you have any Page Rules or Redirect Rules (remember also to check under Bulk Redirects) in Cloudflare…
https://dash.cloudflare.com/?to=/:account/:zone/rules/redirect-rules
https://dash.cloudflare.com/?to=/:account/:zone/rules/rules

1 Like

This worked, TYSM!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.