-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
HTTP response status 503 must be handled as retry after a sleep #4530
Comments
Please upgrade to the latest code and try again first. Maybe it's already fixed. |
The logs are provided and this issue can be solved by merging PR #4531. |
Hello, The changes in the PR #4531 is a breaking change for most people that are using acme.sh in automation mode. I'm renewing a lot of certs, and it seems like when you hit the limit on the number of certificate that you can generate for a specific domain, the CA responds with an error, then is stuck. The change that has been implemented in the PR above is basically making my script wait for hours for the CA to accept to renew my cert, when in fact it should have thrown an error and continue with the next certificate.
Can we re-open this issue and fix it differently ? Thanks Thomas |
Actually the problem is the line :
but if I look at the Git blame, it points to this PR, so I'm not sure what/who changed the line, but that's a problem |
I will fix the code like: if the sleeping time is too large( eg: larger than 600 seconds), we will not sleep, and just fallback as an error just like before. do you think this is ok? |
In my case I think it would work and fix my problem, yes |
This is fine to me as well. I would just like to get logged out for information the cause responded from LE as well as the status code and the sleep time (which is already logged). Then we know all time what exactly is going on. That would be perfect! |
Currently acme.sh is failing on HTTP status 503.
As of https://community.letsencrypt.org/t/new-service-busy-responses-beginning-during-high-load/184174 this is to be handled with a re-send of the current request after a certain period of sleep.
Steps to reproduce
This issue can only be reproduced, if Let's Encrypt (LE) server is temporary overloaded. This most likely happens at the beginning of a month.
As you can see in the debug log - this situation is currently ending up with a
Challenge error: ...
.Debug log
Potential fix
This issue is simple to be fixed.
PR #4531 will fix this issue.
The text was updated successfully, but these errors were encountered: