mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-14 07:33:34 +01:00
Getting ERROR: Challenge is invalid (returned: invalid) : Redirect loop detected #521
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sglessard on GitHub (Mar 4, 2021).
Hello,
I have 8 domains to secure, this was working great for 3 years under acme-v01. I've updated from acme-v01 to acme-v02 and now I get error in the challenge process: Redirect loop detected. It does not break at the same domain, seems random (sometime it's the first one, see log snippet, sometime it's the 3rd, etc.). Is it about my web servers?
When I request URIs prefixed by /.well-known/acme-challenge with curl or wget, I dont see any redirection : it serves a 200 or 404, depending if the file exists or not. There is no http => https redirection. In fact, I can see LE requests in my access logs (200/success) :
dehydrated log (domains/IP/token anonymized):
Using dehydrated v0.6.5
Any help to understand what is going on is very welcome.
Thanks
@lukas2511 commented on GitHub (Mar 5, 2021):
This can't be a dehydrated issue as dehydrated itself has no control over this, so I'm closing this issue.
I'm not sure what's going on here. From your logs it seems like you have some proxy setup going on, are you sure that all requests are going to the correct backend? Maybe you have a configuration issue with that? Otherwise I'd suggest running tcpdump on affected hosts port 80 while doing the renewal to catch the request and figure out what's going on. Maybe your 200 returns for whatever reason still have a Location header that might confuse the validation logic?
@sglessard commented on GitHub (Mar 5, 2021):
Thanks, i'll focus on our network then.
All the best