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

Upload fails: ECONNRESET #507

Open
GMishx opened this issue Apr 18, 2022 · 0 comments
Open

Upload fails: ECONNRESET #507

GMishx opened this issue Apr 18, 2022 · 0 comments

Comments

@GMishx
Copy link

GMishx commented Apr 18, 2022

I have been trying to find a repository which can upload release assets to GitHub Release pages.

For almost all of the actions, I get the error of connection reset or socket timeout while uploading the package. I landed on actions/upload-release-asset#69 seeing others are facing the issue as well.

So far, all actions I used used the github's library directly. However this repository makes connection to REST API which is unique. But I am still facing the issue.

Let me explain what I am trying to do. We build our tool on different Ubuntu and Debian releases and create Debian packages out of them. All the builds are done on Docker containers to emulate different build OS. At the end, we create a tar with following naming scheme (which is unique for each OS).
FOSSology-<version>-<os_name>-<os_release>.tar.gz

Now, while trying to upload this tar, we are facing issues. In the latest run, I got the following error:

/usr/bin/docker exec  0791872080b91fc8a4e626070c284da003270f97f042928622c7c5a6400c8749 sh -c "cat /etc/*release | grep ^ID"
deleting asset FOSSology-4.0.9-ubuntu-focal.tar.gz before uploading
uploading /__w/fossology/fossology/FOSSology-4.0.9-ubuntu-focal.tar.gz as FOSSology-4.0.9-ubuntu-focal.tar.gz: size: 20290645
Error: Error: write ECONNRESET

Here is the link to the build: https://github.com/GMishx/fossology/runs/6061877258?check_suite_focus=true#step:12:16

Other Actions I tried, failed with similar errors:

At random, some uploads succeeds.

@GMishx GMishx changed the title Upload failes: ECONNRESET Upload fails: ECONNRESET Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant