支持网络错误重传
OopsYao opened this issue · 3 comments
OopsYao commented
请问这个支持出现网络错误后重新尝试吗,在GitHub action上用这个上传文件到腾讯云有时会出现网络问题。考虑设定一个重试次数之类的。
saltbo commented
我之前只发现github往国内的云存储上传速度比较慢,倒是没遇到过失败的。 可以考虑增加重试机制
xiaods commented
今日上传七牛,超时。考虑增加重试机制 +1
https://github.com/xiaods/k8e/runs/2067662668?check_suite_focus=true
--driver qiniu --region cn-south-1 --bucket k8e --exclude .cache,test dist/artifacts
2021/03/09 15:16:33 find 1 local objects
2021/03/09 15:16:33 find 1 remote objects
2021/03/09 15:16:33 compare the local files and the remote objects...
2021/03/09 15:16:33 found 1 files to be uploaded, uploading...
2021/03/09 15:16:33 [changed] dist/artifacts/k8e => k8e
2021/03/09 15:29:13 RequestError: send request failed
caused by: Put https://k8e.s3-cn-south-1.qiniucs.com/k8e: stream error: stream ID 1; PROTOCOL_ERROR
xiaods commented
confirmed: 从github action发布到国内的七牛区,上传失败。海外区可以。另外域名在七牛是需要审核的,不然国内转为loop地址。