Repository navigation
Commit 140173f
committed
fix(ingress): retry a failed dns-01 issuance only after a new account
process_domain retried every failed issuance once, after writing the
CAA. The retry exists for one case: a fresh account refused by a CAA
record naming an earlier one, which set_caa_record has just replaced.
For any other failure it doubled the failed validations, so a domain
that keeps failing reached Let's Encrypt's limit of five per hostname
per hour within three passes.
Retry only when the first attempt had to create the account and this
container manages the CAA. Also drop the status 2 -> 0 mapping after
the retry: run_pass already detects a saved certificate by checksum.
Signed-off-by: Kevin Wang <wy721@qq.com>1 parent 9e8cf69 commit 140173f
2 files changed
Lines changed: 14 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
310 | 314 | | |
311 | 315 | | |
312 | 316 | | |
313 | 317 | | |
314 | | - | |
315 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
316 | 322 | | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | 323 | | |
321 | 324 | | |
322 | 325 | | |
| |||
0 commit comments