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
982c54b6
Commit
982c54b6
authored
Mar 02, 2023
by
neilpang
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/4530
parent
67f54333
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
982c54b6
...
@@ -2230,7 +2230,11 @@ _send_signed_request() {
...
@@ -2230,7 +2230,11 @@ _send_signed_request() {
fi
fi
if
[
"
$code
"
=
'503'
]
;
then
if
[
"
$code
"
=
'503'
]
;
then
_sleep_overload_retry_sec
=
3
_retryafter
=
$(
echo
"
$responseHeaders
"
|
grep
-i
"^Retry-After *:"
|
cut
-d
:
-f
2 |
tr
-d
' '
|
tr
-d
'\r'
)
_sleep_overload_retry_sec
=
$_retryafter
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."
_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
_sleep
$_sleep_overload_retry_sec
continue
continue
...
...
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