The Wayback Machine - https://web.archive.org/web/20201208071310/https://github.com/jc21/nginx-proxy-manager/issues/238
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

Remove certbot random delay for manual renew #238

Open
sarbian opened this issue Nov 12, 2019 · 2 comments
Open

Remove certbot random delay for manual renew #238

sarbian opened this issue Nov 12, 2019 · 2 comments
Labels
bug

Comments

@sarbian
Copy link

@sarbian sarbian commented Nov 12, 2019

When "Renew Now" is used the certificate can take a few minutes to be issued. The cert bot log has a line with "INFO:certbot.renewal:Non-interactive renewal: random delay of xxx seconds"
This can be frustrating since the UI display a timeout error and there is not way of know what is going on without looking in the log. The cert is actually issued after the random delay but it seems nginx is not reloaded and you need to enable/disable the site.

Certbot has a --no-random-sleep-on-renew option to disable that random delay and it should be used at least for renew from the interface.

@sarbian sarbian added the enhancement label Nov 12, 2019
@jc21 jc21 added bug and removed enhancement labels Nov 13, 2019
@jc21
Copy link
Owner

@jc21 jc21 commented Nov 13, 2019

I didn't even know this was a problem. All my cert renewals have been immediate - but I guess it might have something to do with the dns verification, which I don't use yet.

@joshbenner
Copy link

@joshbenner joshbenner commented Jun 20, 2020

Certbot will randomly wait on renewals when running in non-interactive mode. This is intended to avoid a massive rush of crons assaulting Let's Encrypt's servers all at the same time. This is appropriate when running scheduled renewals, but when running manually, specifying --no-random-sleep-on-renew is appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.