ERR_TOO_MANY_REDIRECTS? How can I fix it?

I created web, everything was working but wasn't secured. so I create SSL certificate and I get that error. trying to change http to https . I delete all cookies on browser and all recommending think what I find but nothing help. I think that will be something on my server. It is my first website, any help will appreciate.
No description
72 Replies
ἔρως
ἔρως2w ago
is it a wordpress site? if not, whats the tech stack?
3d_carrot_3d
3d_carrot_3dOP2w ago
it's not wordpress. But I already fix the problem.
ἔρως
ἔρως2w ago
what was the issue?
3d_carrot_3d
3d_carrot_3dOP2w ago
SSL certificate processing time or java script in HEAD.
ἔρως
ἔρως2w ago
that is interesting 🤔
3d_carrot_3d
3d_carrot_3dOP2w ago
do you think it could be something else?
ἔρως
ἔρως2w ago
an ssl certificate doesn't have the power to cause infinite redirects javascript could do that, but why would it?
Jochem
Jochem2w ago
it doesn't, but a misconfigured server with an invalid certificate might
ἔρως
ἔρως2w ago
yes, but it should fail to connect to https
Jochem
Jochem2w ago
redirect to a http:// error page for example, which then redirects to a https version
ἔρως
ἔρως2w ago
now, that can happen and it isn't hard to do
3d_carrot_3d
3d_carrot_3dOP2w ago
how I can fix that? It's happened again today. I thought it's fix but looks like not. After activate SSL certificate I get that error. Any advice? @ἔρως @Jochem
ἔρως
ἔρως2w ago
do you have a .htaccess file?
3d_carrot_3d
3d_carrot_3dOP2w ago
I cant see it in publick_html but I find it in different folder, however .htaccess is empty. it's posible the SSL certificate need some time to precess all and later will work ?
ἔρως
ἔρως2w ago
it shouldn't need any time are you using a framework or something?
3d_carrot_3d
3d_carrot_3dOP2w ago
I activate it in the morning and the web is still not working. web is on Webglobe. do you have experience with that ?
dys 🐙
dys 🐙2w ago
The Network tab will should which pages are redirecting & where they're redirecting to. There's almost certainly a loop.
ἔρως
ἔρως2w ago
what does it say when you activate ssl?
3d_carrot_3d
3d_carrot_3dOP2w ago
you thing the code is wrong? is activ and all is green.
ἔρως
ἔρως2w ago
and which options does it give? nobody knows at this point
3d_carrot_3d
3d_carrot_3dOP2w ago
if I click on the detail all what I can see is .crt and some text .key and some text .chain and some text
ἔρως
ἔρως2w ago
and there's no option to automatically redirect http to https?
3d_carrot_3d
3d_carrot_3dOP2w ago
below detail is small windows what I click and automaticly transfer http:// to https://
ἔρως
ἔρως2w ago
is it enabled?
3d_carrot_3d
3d_carrot_3dOP2w ago
yes it is. but the web is still not working. that that's strange,
ἔρως
ἔρως2w ago
use a different browser to test it
3d_carrot_3d
3d_carrot_3dOP2w ago
I did and is still the same. get this message : ERR_TOO_MANY_REDIRECTS I try even on mobile and still not ok
ἔρως
ἔρως2w ago
well, what's in the network tab?
3d_carrot_3d
3d_carrot_3dOP2w ago
where I can find network tab?
ἔρως
ἔρως2w ago
f12
3d_carrot_3d
3d_carrot_3dOP2w ago
status is 301 on everything.
ἔρως
ἔρως2w ago
but where is it redirecting from and into?
3d_carrot_3d
3d_carrot_3dOP2w ago
Status Code: 301 Moved Permanently I check sources and there is No resource with given URL found could be because I change http to https I need change url or something too?
ἔρως
ἔρως2w ago
normally, no
3d_carrot_3d
3d_carrot_3dOP2w ago
I think there will be some small thing what need to be click. how long take to activate ssl? all day ?
ἔρως
ἔρως2w ago
it doesn't take any time
3d_carrot_3d
3d_carrot_3dOP2w ago
check sources and there is No resource with given URL found this will tell you something ??
ἔρως
ἔρως2w ago
is it always the same url?
3d_carrot_3d
3d_carrot_3dOP2w ago
yes is always the same url
3d_carrot_3d
3d_carrot_3dOP2w ago
this is what ai can see when n network.
No description
dys 🐙
dys 🐙2w ago
You're not looking in the sources tab, you want the headers sent in the 301 response. Double click on one of the pages in the Network tab to see the headers. (I'm assuming the page names are all the same in the left-hand column you cut off in your picture of the screen. (Use the PrintScreen key, or Windows+Shift+S to take a screenshot (unless you're on mobile Discord).)) It looks like a page is redirecting to itself.
ἔρως
ἔρως2w ago
but the question is why without knowing how everything was done, it's impossible to know i presume it is php?
3d_carrot_3d
3d_carrot_3dOP2w ago
but what I should see at a header?
3d_carrot_3d
3d_carrot_3dOP2w ago
No description
3d_carrot_3d
3d_carrot_3dOP2w ago
all the page are t same youo right
dys 🐙
dys 🐙2w ago
It's what you blanked out, the Location header. It is the same as the page's url, right? Your https page is redirecting to itself.
ἔρως
ἔρως2w ago
are you using cloudflare pages?
3d_carrot_3d
3d_carrot_3dOP2w ago
it's just a name of the web page.
ἔρως
ἔρως2w ago
or cloudflare for the cache or something?
3d_carrot_3d
3d_carrot_3dOP2w ago
looks like. I take this website frome some one else and need to change it.
ἔρως
ἔρως2w ago
which plan did you buy?
3d_carrot_3d
3d_carrot_3dOP2w ago
domain is on webglobe and is webhosting everything was working, just web wasn't secured soo I active SSL and get this issue.
ἔρως
ἔρως2w ago
which plan did you buy?
3d_carrot_3d
3d_carrot_3dOP2w ago
is there any way how to fix it? it's free Encrypt Wildcard
ἔρως
ἔρως2w ago
with the extremely limited information you're able to give us, i believe the best is for you to contact the host support team
3d_carrot_3d
3d_carrot_3dOP2w ago
I was thinking about it .
ἔρως
ἔρως2w ago
this is not a dig on you or anything, as it is clear you were throwing into the deep-end without even being taught how to walk or breathe they have access to your server and can diagnose it a lot better
3d_carrot_3d
3d_carrot_3dOP2w ago
yes I know. it's ok. I been writing code for the web, that's easy and funny but this... domain and hosting. it's first time what I see it. I was hoping I will find some common issue and will fixit but no. You right I will contact server support. thanks for help anyway.
ἔρως
ἔρως2w ago
the problem is that it can be anything it can be the code, it may be some obscure configuration somewhere else it can even be because your cat sneezed it's even possible that it is a bug in the control panel they offer a free ssl certificate, somewhere maybe they can set it up for you if the support has to be paid, it might be worth just to get rid of the headache
3d_carrot_3d
3d_carrot_3dOP2w ago
yes I will contact them. but it's very weird that if I canceled SSL the web is working but is not secured.
ἔρως
ἔρως2w ago
it is super weird, not gonna lie
dys 🐙
dys 🐙2w ago
The SSL redirect is your problem them. It should only be on the http site, but appears to be on the https as well. I'd guess something is screwy with your host.
3d_carrot_3d
3d_carrot_3dOP2w ago
It's possible. I text to server support. will see what they respond. hope that will be soon.
ἔρως
ἔρως2w ago
it can be the host or code on wordpress, it is super easy to trigger this on other platforms/frameworks, it might be too
dys 🐙
dys 🐙2w ago
Does Wordpress send a 301 or is it a meta refresh tag?
ἔρως
ἔρως2w ago
it's a good question but both are possible with php
3d_carrot_3d
3d_carrot_3dOP2w ago
there is no wordpress, I can install like a plug . If that help I can try.
ἔρως
ἔρως2w ago
no, it doesn't help it will probably fuck up everything, in a bad way you sent the email, just don't touch anything
3d_carrot_3d
3d_carrot_3dOP2w ago
yeah I will wait. wonder how long take to them to respond. 🤔
ἔρως
ἔρως2w ago
i assume a day or 2
3d_carrot_3d
3d_carrot_3dOP2w ago
problem solved. they fixed it. it was my mistake. redirected to my web. they deleted and is ok . such a mistake. 🤦‍♂️🤦‍♂️🤦‍♂️
ἔρως
ἔρως2w ago
it happens now you know what not to do you can mark this as solved, by the way - edit the post and add the "✅ solved" tag

Did you find this page helpful?