Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持网络错误重传 #24

Open
OopsYao opened this issue Dec 3, 2020 · 3 comments
Open

支持网络错误重传 #24

OopsYao opened this issue Dec 3, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@OopsYao
Copy link

OopsYao commented Dec 3, 2020

请问这个支持出现网络错误后重新尝试吗,在GitHub action上用这个上传文件到腾讯云有时会出现网络问题。考虑设定一个重试次数之类的。

@saltbo
Copy link
Collaborator

saltbo commented Dec 4, 2020

我之前只发现github往国内的云存储上传速度比较慢,倒是没遇到过失败的。 可以考虑增加重试机制

@saltbo saltbo added the enhancement New feature or request label Dec 4, 2020
@xiaods
Copy link

xiaods commented Mar 9, 2021

今日上传七牛,超时。考虑增加重试机制 +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
Copy link

xiaods commented Mar 20, 2021

confirmed: 从github action发布到国内的七牛区,上传失败。海外区可以。另外域名在七牛是需要审核的,不然国内转为loop地址。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants