electron-builder: Connection to remote builder refused, while building linux package
Good day. Trying to build linux package remotely getting the error. What’s wrong with remote builder?
• electron-builder version=20.38.4
Linux target AppImage, deb
`> electron-builder --linux
• electron-builder version=20.38.4 • loaded configuration file=package.json (“build” field) • description is missed in the package.json appPackageFile=C:\Users\nick\Projects\TournamentTRN\test\package.json • writing effective config file=distElectron\builder-effective-config.yaml • no native production dependencies • packaging platform=linux arch=x64 electron=4.0.0 appOutDir=distElectron\linux-unpacked • scheduling remote build target=appImage arch=x64 • cannot get, wait attempt=0 error=Get https://service.electron.build/find-build-agent?no-cache=1e247ur: dial tcp 51.38.69.239:443: connectex: No connection could be made because the target machine actively refused it. waitTime=2 • cannot get, wait attempt=1 error=Get https://service.electron.build/find-build-agent?no-cache=1e247ur: dial tcp 51.38.69.239:443: connectex: No connection could be made because the target machine actively refused it. waitTime=4 • cannot get, wait attempt=2 error=Get https://service.electron.build/find-build-agent?no-cache=1e247ur: dial tcp 51.38.69.239:443: connectex: No connection could be made because the target machine actively refused it. waitTime=6 ⨯ Get https://service.electron.build/find-build-agent?no-cache=1e247ur: dial tcp 51.38.69.239:443: connectex: No connection could be made because the target machine actively refused it.
Error: C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code 1 at ChildProcess.childProcess.once.code (C:\Users\nick\Projects\TournamentTRN\test\node_modules\builder-util\src\util.ts:244:14) at Object.onceWrapper (events.js:273:13) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:962:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) From previous event: at RemoteBuilder._build (C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-lib\src\remoteBuilder\RemoteBuilder.ts:57:83) at _bluebirdLst.default.mapSeries.arch (C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-lib\src\remoteBuilder\RemoteBuilder.ts:52:19) From previous event: at RemoteBuilder.build (C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-lib\src\remoteBuilder\RemoteBuilder.ts:51:28) at C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-lib\src\linuxPackager.ts:99:30 From previous event: at RemoteTarget.finishBuild (C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-lib\src\linuxPackager.ts:97:20) at C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-lib\src\packager.ts:438:36 at Generator.next (<anonymous>) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5) From previous event: at Packager.doBuild (C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-lib\src\packager.ts:396:24) at C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-lib\src\packager.ts:366:57 at Generator.next (<anonymous>) at C:\Users\nick\Projects\TournamentTRN\test\node_modules\graceful-fs\graceful-fs.js:111:16 at C:\Users\nick\Projects\TournamentTRN\test\node_modules\graceful-fs\graceful-fs.js:45:10 at FSReqWrap.oncomplete (fs.js:141:20) From previous event: at Packager._build (C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-lib\src\packager.ts:335:133) at C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-lib\src\packager.ts:331:23 at Generator.next (<anonymous>) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5) From previous event: at Packager.build (C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-lib\src\packager.ts:288:14) at build (C:\Users\nick\Projects\TournamentTRN\test\node_modules\app-builder-lib\src\index.ts:59:28) at build (C:\Users\nick\Projects\TournamentTRN\test\node_modules\electron-builder\src\builder.ts:227:10) at then (C:\Users\nick\Projects\TournamentTRN\test\node_modules\electron-builder\src\cli\cli.ts:46:19)`
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 31
- Comments: 66 (4 by maintainers)
Links to this issue
Commits related to this issue
- removed linux build, service down, see electron-userland/electron-builder#3569 — committed to Californ1a/distplay by Californ1a 4 years ago
Seriously, being unable to build for Linux just because the host
https://service.electron.buildis down seems like a major flaw.I know how to solve it now. If you want to build a package for linux, you have to build it on Linux. And then you will get a program with the suffix AppImage ♥
My problem solved itself. I assume that this is some kind of network problem and the site was either unavailable or timed out.
Facing this same issue currently. Has anyone gotten to resolve this?
any news?
having the same issues, crashes out on linux builds
Same here… Hello?
you can build on ubuntu
Same here. Any fix??
Same issue
Same problem…
Get https://service.electron.build/find-build-agent?no-cache=1f5fiuf: dial tcp 51.15.76.176:443: connectex: No connection could be made because the target machine actively refused it.
Same problem still.
I have this problem too, is there something we can do ?
I have the same problem
Same here. Been at this for a while now. Frustrating as ¤%"# 😦 I’m at version 20.38.5
The problem on Windows persist but i ✅ solved using the WSL 2 for Windows.
@IhorVimmi Are you sure about that?
What if somebody already have Azure Cloud and CI there? Or have only a custom Windows Server?…
And to fetch binaries during build is a bad practise. They should be downloaded during install.
Same issue