Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Errors on Windows and Mac build possibly due to failed code signing #726

Closed
hans-permana opened this issue Aug 13, 2018 · 2 comments
Closed

Comments

@hans-permana
Copy link
Contributor

Expected behavior

Builds should pass without any errors and Windows & Mac installers should be signed.

Actual behavior

Builds produced an error:

Unhandled rejection Error: connect ECONNREFUSED 127.0.0.1:443
    at Object._errnoException (util.js:992:11)
    at _exceptionWithHostPort (util.js:1014:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
From previous event:
    at CancellationToken.createPromise (/Users/travis/build/CCI-Tools/cate-installer/cate-desktop/node_modules/builder-util-runtime/src/CancellationToken.ts:51:5)
    at /Users/travis/build/CCI-Tools/cate-installer/cate-desktop/node_modules/builder-util/src/nodeHttpExecutor.ts:23:44
From previous event:
.
.
.
.

Complete logs can be viewed here (Mac) and here (Windows).

Also, the resulting installers did not seem to be signed, prompting some security confirmation from users when executed.

Specifications

  • electron-build version: 19.56.2
  • electron-updater version: 2.20.1
@hans-permana
Copy link
Contributor Author

hans-permana commented Aug 13, 2018

Reported the issue here electron-userland/electron-builder#3121 due to a suspicion that it may be an electron builder issue.

@forman
Copy link
Member

forman commented Aug 14, 2018

Problem was at Dropbox, where we host the certificates. The Dropbox download URL parameter suddenly stopped working.

Fix:

CSC_LINK=https://www.dropbox.com/**/*.p12?dl=1

had to be turned into

CSC_LINK=https://dl.dropbox.com/**/*.p12

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

No branches or pull requests

2 participants