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

hub release create frequently fails with "The release was created, but attaching 15 assets failed", "write: connection reset by peer" #3027

Open
vadimkantorov opened this issue Dec 20, 2022 · 1 comment
Labels

Comments

@vadimkantorov
Copy link

I'm running hub release create inside GitHub Actions + Ubuntu 20.04 + Alpine 3.17. This error constantly breaks my Actions, this happens almost every time (but not always). The error is very cryptic. Is file size of the assets a problem? The largest of my assets is ~50Mb.

    runs-on: ubuntu-20.04
    container: alpine:3.17
    steps:
      - name: Install Prerequisites
        run:  apk add --update --no-cache libnsl libnsl-dev build-base coreutils cmake git xz wget perl gperf p7zip python3 strace && ln -sf python3 /usr/bin/python

      - name: Install Hub
        run:  apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing hub
Attaching 17 assets...
The release was created, but attaching 15 assets failed. You can retry with:
hub release edit build_757f82[13](https://github.com/busytex/busytex/actions/runs/3740840368/jobs/6349685778#step:10:14)e3624672ff516e9b3d8d5a6ae16400b3 -m '' -a build/native/busytex -a build/native/busytex.tar -a build/native/texlive/libs/freetype2/ft-build/apinames -a build/native/texlive/libs/icu/icu-build/bin/icupkg -a build/native/texlive/libs/icu/icu-build/bin/pkgdata -a build/native/texlive/texk/web2c/ctangle -a build/native/texlive/texk/web2c/otangle -a build/native/texlive/texk/web2c/tangle -a build/native/texlive/texk/web2c/tangleboot -a build/native/texlive/texk/web2c/ctangleboot -a build/native/texlive/texk/web2c/tie -a build/native/texlive/texk/web2c/web2c/fixwrites -a build/native/texlive/texk/web2c/web2c/makecpool -a build/native/texlive/texk/web2c/web2c/splitup -a build/native/texlive/texk/web2c/web2c/web2c

Error uploading release asset: Post https://uploads.github.com/repos/busytex/busytex/releases/86651807/assets?name=busytex: write tcp 172.18.0.2:47490->[14](https://github.com/busytex/busytex/actions/runs/3740840368/jobs/6349685778#step:10:15)0.82.114.14:443: write: connection reset by peer
Error: Process completed with exit code 1.
@vadimkantorov
Copy link
Author

Is there a way to tell hub release create to retry (and executing the needed commands hub release edit by itself)?

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

No branches or pull requests

1 participant