Greenlock is stuck with challenge state "invalid", when I remove private key, it starts to work correctly #27
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
I have an issue with some domains, which receive the error below.
When I remove primary key, it starts to work correctly. Do you have any ideas how to deal with issues like this?
See the troubleshooting guide and first 2 videos at
https://git.coolaj86.com/coolaj86/greenlock-express.js
It sounds like you’re adding new domains and probably just need to use the approveDomains callback (or a more sophisticated storage plugin).
The problem is not the error, it happens - some network issues, DNS cache and so on.
The problem is that this problem stays even when the original problem disappears and it requires manual intervention to be solved.
I have 10000+ domains in a system and fixing every domain is not a solution. It would be nice if you can suggest me how to implement a solution and I'll send a pull request
PS: for 99% of domains everything works fine
There were some problems with the way the primary key thumbprint was being generated in some cases. I think that may have been related to this. I published the fix a while ago, but forgot to update you here.
I'm going to close this out, but please reopen it if this happens again with the latest version.
@coolaj86 I am experiencing a similar issue. I have around 5,000 relatively low traffic domains. The vast majority work perfectly, but every once in a while I run into one that just won't validate, giving the error "unacceptable challenge state 'invalid'".
I have gone through all the troubleshooting steps and nothing seems to work. Every request to the domain results in the above error. Then it creates the directory for the domain in acme/live, with only
privkey.pem
inside of it. Deleting the directory for the domain doesn't seem to solve it.@gugu, is that what you mean by removing the "primary key."
Any advice or direction you could be me here would be really helpful, thanks.
Especially in light of the cleanup as part of the transition to v2.7+ / v3 it's very likely that the issue is specific to your situation, and not an issue with Greenlock itself.
Off the cuff my guess is that either you're over your limit per IP or the domain that you're trying to validate is a special non-supported tld (i.e.
.newthing
not.com
) or that the domain has a CAA record set.We're going to start offering commercial licensing and business support plans for priority support for these types of issues. As of right now I can offer consulting at an hourly rate to help troubleshoot. Please send an email to aj@therootcompany.com with your timezone and specific details about the failing domains.
We can get on a screen share and take a look at logs, get into specifics more than what you might want to share publicly on an issue, and quickly debug it.
Thanks, I just sent you an email.