Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: Retry logic #792

Open
lukas2511 opened this issue Dec 10, 2020 · 1 comment
Open

Improvement: Retry logic #792

lukas2511 opened this issue Dec 10, 2020 · 1 comment
Milestone

Comments

@lukas2511
Copy link
Member

Dehydrated currently doesn't have retry logic and just aborts after a single failure (or just continues with the next certificate).

There have been several tickets about this issue, this one should consolidate those tickets and serve as a reference point for future quick-closes.

@Exagone313
Copy link
Contributor

Exagone313 commented Jun 11, 2021

I've had an issue for a while (a few months) where dehydrated fails to renew the certificates due to issues with Let's Encrypt's own DNS resolver, that randomly fails to resolve CAA records (even for top-level domains sometimes).

The definitive fix is implementing a retry logic. This is not something I would write naively, it needs at the very least to be considerate with rate limits.

Here is a partial result output, so that this issue appears in searches.

{
  "type": "http-01",
  "status": "invalid",
  "error": {
    "type": "urn:ietf:params:acme:error:dns",
    "detail": "During secondary validation: DNS problem: query timed out looking up CAA for xyz",
    "status": 400
  }
}

The wordaround I have is to run dehydrated more often than before, hoping a next run will have more luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants