request a new nonce for invalid anti-replay nonce error

This commit is contained in:
neilpang 2018-07-18 22:00:09 +08:00
parent b9b7032386
commit 411b342a27

View File

@ -1899,6 +1899,7 @@ _send_signed_request() {
if _contains "$_body" "JWS has invalid anti-replay nonce" || _contains "$_body" "JWS has an invalid anti-replay nonce"; then 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." _info "It seems the CA server is busy now, let's wait and retry."
_CACHED_NONCE=""
_sleep 5 _sleep 5
continue continue
fi fi