瀏覽代碼

request a new nonce for invalid anti-replay nonce error

neilpang 7 年之前
父節點
當前提交
411b342a27
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      acme.sh

+ 1 - 0
acme.sh

@@ -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