Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
42a5cd96
Commit
42a5cd96
authored
Mar 17, 2023
by
neilpang
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/4530#issuecomment-1473395845
parent
bf00d315
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
42a5cd96
...
...
@@ -2235,9 +2235,13 @@ _send_signed_request() {
if
[
-z
"
$_sleep_overload_retry_sec
"
]
;
then
_sleep_overload_retry_sec
=
5
fi
_info
"It seems the CA server is currently overloaded, let's wait and retry. Sleeping
$_sleep_overload_retry_sec
seconds."
_sleep
$_sleep_overload_retry_sec
continue
if
[
$_sleep_overload_retry_sec
-le
600
]
;
then
_info
"It seems the CA server is currently overloaded, let's wait and retry. Sleeping
$_sleep_overload_retry_sec
seconds."
_sleep
$_sleep_overload_retry_sec
continue
else
_info
"The retryafter=
$_retryafter
is too large > 600, not retry anymore."
fi
fi
if
_contains
"
$_body
"
"JWS has invalid anti-replay nonce"
||
_contains
"
$_body
"
"JWS has an invalid anti-replay nonce"
;
then
_info
"It seems the CA server is busy now, let's wait and retry. Sleeping
$_sleep_retry_sec
seconds."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment