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

LE Cert Generation Error Handling #10

Open
YurkoWasHere opened this issue Aug 5, 2022 · 0 comments
Open

LE Cert Generation Error Handling #10

YurkoWasHere opened this issue Aug 5, 2022 · 0 comments

Comments

@YurkoWasHere
Copy link
Member

/usr/local/sbin/press-publish has no error handling between runs. This causes LE to hit "too many failed authorizations" and possibly other triggers.

An unexpected error occurred:
There were too many requests of a given type :: Error creating new order :: too many failed authorizations recently: see https://letsencrypt.org/docs/failed-validation-limit/

In this case ipv6 was set wrong, and LE certificates where failing for all domains for months.

Suggestion:
When an LE cert fails, dump the log of the error into a file somewhere, and dont re-run the certificate while the file exists (like a lock file).

Maybe include a timestamp to automatically retry every hour or so for automatic recovery, but not every 5 mins like the cron job does.

fauno pushed a commit that referenced this issue May 29, 2024
fauno pushed a commit that referenced this issue May 29, 2024
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

1 participant