Redirect loop detected (resolved)

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: www.cocostheclub.com

I ran this command:opt/letsencrypt/certbot-auto certonly --webroot -w /var/www/letsencrypt/ -d www.cocostheclub.com

It produced this output: Using the webroot path /var/www/letsencrypt for all unmatched domains.
Waiting for verification...
Challenge failed for domain www.cocostheclub.com
http-01 challenge for www.cocostheclub.com
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: www.cocostheclub.com
    Type: connection
    Detail: Fetching
    /.well-known/acme-challenge/r7L3vfOwFgUbC_c-b6WwrfmfpBK-i7hspHDGCL7T6YQ:
    Redirect loop detected

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A/AAAA record(s) for that domain
    contain(s) the right IP address. Additionally, please check that
    your computer has a publicly routable IP address and that no
    firewalls are preventing the server from communicating with the
    client. If you're using the webroot plugin, you should also verify
    that you are serving files from the webroot path you provided.

My web server is (include version): nginx version: nginx/1.21.3

The operating system my web server runs on is (include version): centos 8

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 1.10.1

letsencrypt.txt (26.6 KB)
And last log file for debug

Best regards.

Problem caused by our ddos-protection device , if you get this error "Redirect loop detected" check your firewall and ddos-protection device for blocking Let's Encrypt validation servers.

1 Like

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