mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-14 15:43:35 +01:00
Request for retry loop for resiliency against curl error 35 #498
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 @morganwdavis on GitHub (Sep 30, 2020).
When this error occurs during a cron run:
...it seems to be some kind of intermittent problem with a glitchy LE server that came up in round-robin.
Perhaps a configurable sleep-and-retry loop (N times before giving up) could easily resolve that.
This actually bit me because I assumed that these connections would just always work. I had cron set up to run dehydrated on the first of each month, figuring that if certs expire in 90 days, running once every 30 days or so should be fine. But a failed run one month would put me beyond the 10-day renewal window and some certs would expire. It happened a couple of times before I figured out that the cron runs would fail. Now I have it changed to run via cron daily. Sure, it works when tomorrow's run happens, but just retrying today would likely avoid this.
Thanks for considering.
@lukas2511 commented on GitHub (Dec 10, 2020):
Hi. I'm aware of those issues and was asked for retry logic in a few tickets before. I've decided to close them all and consolidate them into a single issue which can be found here: #792. Thanks for reporting.