-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
acme/lego causes account rate limits #85861
Comments
Point one is not a bug. It's explicitly mentioned in the release notes as an unavoidable tradeoff.
|
@rkoe could you show
You might be running into a certificate rate limiting issue instead. The It is probably proliferating though because we are re-generating all your 10 certificates at the same time. However this is the nature of how NixOS's To work around these issues, you could perhaps employ SANs. You can add extra SAN domains to a certificate through the |
Hmmm Maybe it's actually recreating the account every time... let me debug and see if that's the case... |
Doesn't seem to be recreating the account. So it indeed seems youre running into
|
The fix for this I will probably try to get backported |
No, I'm running into accout rate limits (I've replaced the real domain name with example.com):
|
Thanks for your coments. I think I've found out:
So:
|
Aha; yes I see. Thanks for the digging. This makes sense. I think your assesment is completely correct. @rkoe from what I remember; and correct me if I am wrong,
Only once. per account
This sounds like a good idea. Especially the remark that each |
@arianvp I know you edited your message but I just wanted to confirm that yeah, it used to be one account per certificate, or in other words it was 1:1 between It's also worth pointing out that the |
So I think the conclusion is we're in a better shape than before. But adding a warning about rate limits especially if you have more than 10 accounts could be added to the release notes so people do not run into this. I'll make a PR. @rkoe sounds good? |
Yes, thanks. Additionally, a warning at the [1] e.g.: For each distinctive email-address, a separate account is registered at the ACME-server (e.g. let's encrypt). Note that ACME-servers usually have account rate limits (e.g. max. 10 per IP per 3 hours), so adding several acme-entries with different email-addresses may trigger those limits. |
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them. Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel. |
This issue was resolved in #91121 and I did add a note about using different emails for lots of certs too. |
Describe the bug
When upgrading to 20.03, the change from simp_le to lego causes
According to #85152 this should be fixed -- but it isn't.
To Reproduce
Steps to reproduce the behavior:
Metadata
"x86_64-linux"
Linux 4.19.114, NixOS, 20.03.1445.95b9c99f6d0 (Markhor)
yes
yes
nix-env (Nix) 2.3.4
"nixos-20.03.1445.95b9c99f6d0"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: