Err too many redirects

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. https://crt.sh/?q=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: drapurvapopat.com

I ran this command: sudo certbot --apache

It produced this output:

My web server is (include version): Google cloud, Apache

The operating system my web server runs on is (include version): Debuan 9

My hosting provider, if applicable, is: Google cloud

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

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): it was auto installed

please help i am a noobie in this sudo sudo thing. i ran this command in google cloud SSH terminal . Certbot autoinstalled everything and i am getting this redirect loop error. please tell me only SSH command to get this things done

1 Like

Hi @popatapurva

read the output of your check, ~~45 minutes old - https://check-your-website.server-daten.de/?q=drapurvapopat.com#url-checks

Domainname Http-Status redirect Sec. G
http://drapurvapopat.com/ 104.155.156.55 301 https://drapurvapopat.com/ Html is minified: 100,00 % 0.240 A
http://www.drapurvapopat.com/ 104.155.156.55 301 https://www.drapurvapopat.com/ Html is minified: 100,00 % 0.234 A
https://drapurvapopat.com/ 104.155.156.55 301 https://www.drapurvapopat.com/ Html is minified: 100,00 % 5.187 B
https://www.drapurvapopat.com/ 104.155.156.55 301 https://www.drapurvapopat.com/ Html is minified: 100,00 % 4.860 L

You have a direct loop https + www -> https + www.

Find and remove that redirect.

That's nothing Certbot has created. May be a wrong general redirect to the www version.

1 Like

this only happened after certbot, while installation it asked to whether to redirect all http to https, and i pressed yes. and all happened after that. now tried to reinstall it. but nothing is working.
can you please help me clearly where will i find that https ==> https loop. where to exactly edit. i am completely non technical

1 Like

please can you help me?

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. https://crt.sh/?q=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: drapurvapopat.com

I ran this command:

It produced this output:
i renewed certbot certificate
My web server is (include version):

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

My hosting provider, if applicable, is: GOogle cloud

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

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

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

please help me, many people are facing the same issue, the automatic certbot installation has screwed up everything, many people have faced the same issue. please give me solution via SSH codes

1 Like

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