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

fix(GitHubPublisher): add timeout to GitHub publisher uploads prevent socket hand up due to short timeout default setting fixes #4940 #5777

Closed
wants to merge 1 commit into from

Conversation

Kellojo
Copy link

@Kellojo Kellojo commented Apr 6, 2021

fix(GitHubPublisher): add timeout to GitHub publisher uploads

prevent socket hand up due to short timeout default setting

fixes #4940

… socket hand up due to short timeout default setting fixes electron-userland#4940

fix(GitHubPublisher): add timeout to GitHub publisher uploads

 prevent socket hand up due to short timeout default setting 

fixes electron-userland#4940
@Kellojo
Copy link
Author

Kellojo commented Apr 6, 2021

Ideally this fixes #4940. I need help on testing this though.
Ideally I would like to test this directly in a CI environment (i.e. by installing electron-builder from the fork I created).
This does not seem to work though and fails with:

npm i git+https://github.com/Kellojo/electron-builder.git
npm ERR! premature close

npm ERR! A complete log of this run can be found in:

Does anybody have any ideas?

@mmaietta
Copy link
Collaborator

mmaietta commented Apr 7, 2021

Thanks for the PR!

Copying this here from #4940 thread in case anyone else misses it:
https://github.com/electron-userland/electron-builder/blob/master/CONTRIBUTING.md#to-setup-a-local-dev-environment

@hovancik
Copy link

I believe the value should be configurable?

@mmaietta
Copy link
Collaborator

Based on this comment, it doesnt seem that increasing the timeout will resolve the issue, even when the value is something significantly larger (30s vs 240s)
#4940 (comment)

@Kellojo
Copy link
Author

Kellojo commented Apr 17, 2021

Back to the drawing board 😄

@Kellojo Kellojo closed this Apr 17, 2021
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

Successfully merging this pull request may close these issues.

Error: Socket Hang up when electron-builder Release on github.
3 participants