Closed ntimo closed 1 year ago
Strange, this is one of those errors I'd never actually expect to see.
Which dns provider? Can you search your log around the time of the first order and see if you have a log entry "dns-01 (acme.sh) could not remove resource"
Are you by any chance using multiple ACME Servers around the same time? For example, renewing both Production and Staging certs at the same time for the same domain? I think this might cause the issue in that they'd both try to add the same domain with different values at the same time.
No I only use once acme account on prod. But I have multiple domains that need to be renewed on it. My dns provider is nsupdate. I also have a few invalid orders in the list of the cert. Since the renewal failed because of a bad file permission issue in the nsupdate key. But after fixing this I am greeted with the above error when trying to renew a cert.
Yes I also see the log line you mention.
It is hard for me to know the exact issue without your setup. However, I reworked the only thing that I could logic out as a possible issue. Can you build the master branch and test if the issue is fixed?
If not, what OS are you on? I might be able to build it for you.
Can you send me your debug log please? The only other thought I have is that delete is being called before add but I can’t figure out how that would be happening either.
Sure I have send you an email.
This issue is triggered when LeGo attempts to provision more than one of the same resource name at the same time. This can be triggered by:
The fix to this is to have a master tracker in the challenges package that will block requests for a resource name if that name is already in use. The blcok will be removed once the previous request has completed and has been deprovisioned.
The previous commit on this issue fixes the problem but is sloppy. The next commit will clean this up and make it more efficient.
Hey, when I try to renew my certifictes I get this error in the logs and they are stuck in the pending state: