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

[MacOS] Signal desktop fails to start behind enterprise proxy #2564

Closed
1 task done
denics opened this issue Jul 24, 2018 · 1 comment
Closed
1 task done

[MacOS] Signal desktop fails to start behind enterprise proxy #2564

denics opened this issue Jul 24, 2018 · 1 comment

Comments

@denics
Copy link

denics commented Jul 24, 2018

  • I have searched open and closed issues for duplicates

Bug description

Dear all, I love Signal and I am using it on my phones and Linux desktops. However, at work, I am using a Mac and the application, v1.14.4 simply wont start with the message:

Something went wrong! Failed to connect to server.

It seems to me that this is related to #2278 and #1632

Steps to reproduce

  1. At work, open Signal

Actual result:

Does not connect to the server

Expected result:

I should be able to enjoy the application

Screenshots

screen shot 2018-07-24 at 10 25 54

Platform info

  • Signal version:

    1.14.4

  • Operating System:

    MacOS X High Sierra 10.13.6

  • Linked device version:

    No linked device (I cannot access the application)

Link to debug log

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Signal/1.14.4 Chrome/61.0.3163.100 Electron/2.0.1 Safari/537.36 node/8.9.3 env/production
INFO  2018-07-23T09:18:33.689Z app ready
INFO  2018-07-23T09:18:33.697Z Ensure attachments directory exists
INFO  2018-07-23T09:18:33.766Z Initializing BrowserWindow config: {"show":true,"width":800,"height":610,"minWidth":640,"minHeight":360,"autoHideMenuBar":false,"webPreferences":{"nodeIntegration":false,"nodeIntegrationInWorker":false,"preload":"[REDACTED]/app.asar/preload.js","nativeWindowOpen":true},"icon":"[REDACTED]/app.asar/images/icon_256.png","maximized":false,"x":-2219,"y":421}
ERROR 2018-07-23T09:18:34.343Z Error: Error: net::ERR_CONNECTION_CLOSED
    at CancellationToken.createPromise ([REDACTED]/app.asar/node_modules/builder-util-runtime/src/CancellationToken.ts:51:5)
    at ElectronHttpExecutor.doApiRequest ([REDACTED]/app.asar/node_modules/builder-util-runtime/src/httpExecutor.ts:81:30)
    at ElectronHttpExecutor.request ([REDACTED]/app.asar/node_modules/builder-util-runtime/src/httpExecutor.ts:73:17)
    at GenericProvider.httpRequest ([REDACTED]/app.asar/node_modules/electron-updater/src/Provider.ts:26:26)
    at [REDACTED]/app.asar/node_modules/electron-updater/src/GenericProvider.ts:24:45
    at Generator.next (<anonymous>)
From previous event:
    at GenericProvider.getLatestVersion ([REDACTED]/app.asar/node_modules/electron-updater/out/GenericProvider.js:98:7)
    at [REDACTED]/app.asar/node_modules/electron-updater/src/AppUpdater.ts:304:25
    at Generator.next (<anonymous>)
    at runCallback (timers.js:789:20)
    at tryOnImmediate (timers.js:751:5)
    at processImmediate [as _immediateCallback] (timers.js:722:5)
From previous event:
    at MacUpdater.getUpdateInfo ([REDACTED]/app.asar/node_modules/electron-updater/out/AppUpdater.js:460:7)
    at [REDACTED]/app.asar/node_modules/electron-updater/src/AppUpdater.ts:308:35
    at Generator.next (<anonymous>)
From previous event:
    at MacUpdater.doCheckForUpdates ([REDACTED]/app.asar/node_modules/electron-updater/out/AppUpdater.js:502:7)
    at [REDACTED]/app.asar/node_modules/electron-updater/src/AppUpdater.ts:279:25
    at Generator.next (<anonymous>)
    at runCallback (timers.js:789:20)
    at tryOnImmediate (timers.js:751:5)
    at processImmediate [as _immediateCallback] (timers.js:722:5)
From previous event:
    at MacUpdater._checkForUpdates ([REDACTED]/app.asar/node_modules/electron-updater/out/AppUpdater.js:433:7)
    at MacUpdater.checkForUpdates ([REDACTED]/app.asar/node_modules/electron-updater/src/AppUpdater.ts:217:35)
    at checkForUpdates ([REDACTED]/app.asar/app/auto_update.js:22:15)
    at Object.initialize ([REDACTED]/app.asar/app/auto_update.js:78:3)
    at logging.initialize.catch.then ([REDACTED]/app.asar/main.js:625:18)
    at <anonymous>
INFO  2018-07-23T09:18:34.343Z Got an error while updating:  Error: net::ERR_CONNECTION_CLOSED
    at CancellationToken.createPromise ([REDACTED]/app.asar/node_modules/builder-util-runtime/src/CancellationToken.ts:51:5)
    at ElectronHttpExecutor.doApiRequest ([REDACTED]/app.asar/node_modules/builder-util-runtime/src/httpExecutor.ts:81:30)
    at ElectronHttpExecutor.request ([REDACTED]/app.asar/node_modules/builder-util-runtime/src/httpExecutor.ts:73:17)
    at GenericProvider.httpRequest ([REDACTED]/app.asar/node_modules/electron-updater/src/Provider.ts:26:26)
    at [REDACTED]/app.asar/node_modules/electron-updater/src/GenericProvider.ts:24:45
    at Generator.next (<anonymous>)
From previous event:
    at GenericProvider.getLatestVersion ([REDACTED]/app.asar/node_modules/electron-updater/out/GenericProvider.js:98:7)
    at [REDACTED]/app.asar/node_modules/electron-updater/src/AppUpdater.ts:304:25
    at Generator.next (<anonymous>)
    at runCallback (timers.js:789:20)
    at tryOnImmediate (timers.js:751:5)
    at processImmediate [as _immediateCallback] (timers.js:722:5)
.
.
.

INFO  2018-07-24T08:31:51.919Z Remove all notifications
INFO  2018-07-24T08:31:52.918Z Update notifications: {"shouldClearNotifications":false,"shouldPlayNotificationSound":false,"shouldShowNotifications":false,"type":"disabled","isNotificationGroupingSupported":true}
INFO  2018-07-24T08:31:54.550Z opening provisioning socket https://textsecure-service.whispersystems.org
INFO  2018-07-24T08:31:54.651Z provisioning socket closed 1006
INFO  2018-07-24T08:31:54.651Z provisioning failed Error: websocket closed
    at W3CWebSocket.socket.onclose (file://[REDACTED]/app.asar/js/libtextsecure.js:37594:22)
    at W3CWebSocket._dispatchEvent [as dispatchEvent] ([REDACTED]/app.asar/node_modules/yaeti/lib/EventTarget.js:107:17)
    at W3CWebSocket.onConnectFailed ([REDACTED]/app.asar/node_modules/websocket/lib/W3CWebSocket.js:219:14)
    at WebSocketClient.<anonymous> ([REDACTED]/app.asar/node_modules/websocket/lib/W3CWebSocket.js:59:25)
    at emitOne (events.js:116:13)
    at WebSocketClient.emit (events.js:211:7)
    at ClientRequest.handleRequestError ([REDACTED]/app.asar/node_modules/websocket/lib/WebSocketClient.js:215:14)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at TLSSocket.socketErrorListener (_http_client.js:387:9)
INFO  2018-07-24T08:31:57.199Z Loaded this list of log files from logPath: log.log, log.log.0
@scottnonnenberg-signal
Copy link
Contributor

It's definitely the same thing as #1632.

Try the environment variables mentioned in that issue, see if it changes the error message you're getting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants