Merge pull request #8275 from lvyangyang/fix/aliyun_timeout_retry

fix:aliyun jsonRequest 增加i/o timeout retry
This commit is contained in:
yunion-ci-robot
2020-10-14 10:47:29 +08:00
committed by GitHub
+5
View File
@@ -136,6 +136,11 @@ func jsonRequest(client *sdk.Client, domain, apiVersion, apiName string, params
}
}
for _, code := range []string{
"EOF",
"i/o timeout",
"TLS handshake timeout",
"connection reset by peer",
"server misbehaving",
"SignatureNonceUsed",
"InvalidInstance.NotSupported",
"try later",