mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix:aliyun jsonRequest 增加i/o timeout retry
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user