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
8148bfea
Commit
8148bfea
authored
Sep 05, 2017
by
neilpang
Browse files
fix
https://github.com/Neilpang/acme.sh/issues/998
parent
77902081
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
8148bfea
...
@@ -1814,7 +1814,12 @@ _send_signed_request() {
...
@@ -1814,7 +1814,12 @@ _send_signed_request() {
_CACHED_NONCE
=
"
$(
echo
"
$responseHeaders
"
|
grep
"Replay-Nonce:"
| _head_n 1 |
tr
-d
"
\r\n
"
|
cut
-d
':'
-f
2
)
"
_CACHED_NONCE
=
"
$(
echo
"
$responseHeaders
"
|
grep
"Replay-Nonce:"
| _head_n 1 |
tr
-d
"
\r\n
"
|
cut
-d
':'
-f
2
)
"
if
_contains
"
$response
"
"JWS has invalid anti-replay nonce"
;
then
_body
=
"
$response
"
if
[
"
$needbase64
"
]
;
then
_body
=
"
$(
echo
"
$_body
"
| _dbase64
)
"
fi
_debug3 _body
"
$_body
"
if
_contains
"
$_body
"
"JWS has invalid anti-replay nonce"
;
then
_info
"It seems the CA server is busy now, let's wait and retry."
_info
"It seems the CA server is busy now, let's wait and retry."
_request_retry_times
=
$(
_math
"
$_request_retry_times
"
+ 1
)
_request_retry_times
=
$(
_math
"
$_request_retry_times
"
+ 1
)
_sleep 5
_sleep 5
...
...
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