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

403 error from Electron release download in Github Actions #61

Open
jmrossy opened this issue Jun 26, 2021 · 1 comment
Open

403 error from Electron release download in Github Actions #61

jmrossy opened this issue Jun 26, 2021 · 1 comment

Comments

@jmrossy
Copy link

jmrossy commented Jun 26, 2021

Hi 👋

I'm seeing frequent errors when using this lib (via electron-builder) in Github Actions.

Strangely, the Linux (Ubuntu) build almost never fails but the Windows and Mac builds fail most of the time.

Here's the relevant error message:

$ /Users/runner/work/celo-web-wallet/celo-web-wallet/node_modules/.bin/electron-builder --mac --publish always
  • electron-builder  version=22.10.5 os=19.6.0
  • loaded configuration  file=/Users/runner/work/celo-web-wallet/celo-web-wallet/electron-builder.yml
  • installing production dependencies  platform=darwin arch=x64 appDir=/Users/runner/work/celo-web-wallet/celo-web-wallet/dist
  • packaging       platform=darwin arch=x64 electron=13.1.1 appOutDir=dist-electron/mac
  • Unpacking electron zip  zipPath=undefined
  • downloading     url=https://github.com/electron/electron/releases/download/v13.1.1/electron-v13.1.1-darwin-x64.zip size=79 MB parts=6
  • downloaded      url=https://github.com/electron/electron/releases/download/v13.1.1/electron-v13.1.1-darwin-x64.zip duration=1.723s
  • downloading     url=*** size=3.2 kB parts=1
  ⨯ part download request failed with status code 403
github.com/develar/app-builder/pkg/download.(*Part).doRequest
	/Volumes/data/Documents/app-builder/pkg/download/Part.go:126
github.com/develar/app-builder/pkg/download.(*Part).download
	/Volumes/data/Documents/app-builder/pkg/download/Part.go:47
github.com/develar/app-builder/pkg/download.(*Downloader).DownloadResolved.func1.1
	/Volumes/data/Documents/app-builder/pkg/download/downloader.go:155
github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2
	/Volumes/data/Documents/app-builder/pkg/util/async.go:68
runtime.goexit
error Command failed with exit code 1.
@jmrossy
Copy link
Author

jmrossy commented Jun 29, 2021

I reached out to Github support who shared these requirements/details about the cloud environments used for Github Actions. To folks who are familiar with this project, do any of these details help explain the connection issues?
https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources

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