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

Retry on temporary error #132

Open
int128 opened this issue Jul 28, 2022 · 1 comment
Open

Retry on temporary error #132

int128 opened this issue Jul 28, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@int128
Copy link

int128 commented Jul 28, 2022

Problem to solve

We use aqua-installer action and sometimes get the following error:

Run aquaproj/[email protected]
Run echo "${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin" >> $GITHUB_PATH
Run bash "/runner/_work/_actions/aquaproj/aqua-installer/v1.0.0/action.sh"
===> Downloading https://github.com/aquaproj/aqua/releases/download/v1.17.1/aqua_linux_amd64.tar.gz ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 5637k  100 5637k    0     0  19.5M      0 --:--:-- --:--:-- --:--:-- 19.5M
===> Install aqua v1.17.1 (linux/amd64) to /home/runner/.local/share/aquaproj-aqua/bin/aqua
time="2022-07-28T01:31:21Z" level=info msg="download and unarchive the package" aqua_version=1.17.1 env=linux/amd64 package_name=aqua-proxy package_version=v1.1.2 program=aqua registry=
time="2022-07-28T01:31:21Z" level=fatal msg="aqua failed" aqua_version=1.17.1 env=linux/amd64 error="copy the file to the temporal file: read tcp 10.11.69.172:60234->185.199.109.133:443: read: connection reset by peer" program=aqua

It seems a temporary error.

How to solve

It would be nice if aqua-installer or aqua retries on a temporary error.
Related to aquaproj/aqua#829.

Thanks.

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Jul 28, 2022
@suzuki-shunsuke
Copy link
Member

Thank you for your proposal.

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

2 participants