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

Crash: "net::ERR_NAME_NOT_RESOLVED" #3097

Closed
1 task done
Xashyar opened this issue Feb 1, 2019 · 15 comments
Closed
1 task done

Crash: "net::ERR_NAME_NOT_RESOLVED" #3097

Xashyar opened this issue Feb 1, 2019 · 15 comments

Comments

@Xashyar
Copy link
Contributor

Xashyar commented Feb 1, 2019

  • I have searched open and closed issues for duplicates

Bug Description

 Unhandled Promise Rejection
 Error: net::ERR_NAME_NOT_RESOLVED
     at GenericProvider.getLatestVersion (C:\Users\[Redacted]\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\providers\GenericProvider.ts:18:25)
     at C:\Users\[Redacted]\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:347:26
     at Generator.next (<anonymous>)
     at runCallback (timers.js:696:18)
     at tryOnImmediate (timers.js:667:5)
     at processImmediate (timers.js:649:5)
 From previous event:
     at NsisUpdater.getUpdateInfoAndProvider (C:\Users\[Redacted]\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:336:43)
     at C:\Users\[Redacted]\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:363:31
     at Generator.next (<anonymous>)
 From previous event:
     at NsisUpdater.doCheckForUpdates (C:\Users\[Redacted]\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:360:34)
     at NsisUpdater.checkForUpdates (C:\Users\[Redacted]\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:220:35)
     at checkForUpdates (C:\Users\[Redacted]\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\app\auto_update.js:22:15)
     at Object.initialize (C:\Users\[Redacted]\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\app\auto_update.js:78:3)
     at App.app.on (C:\Users\[Redacted]\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\main.js:692:14)

Screenshots

Platform Info

Signal Version: 1.21.0-beta.3

Operating System: Windows 10

Link to Debug Log

https://debuglogs.org/e804836ed54f6758ef4f2306faf00cb2a790b01b3594b79871bd0150ac476fa2

@scottnonnenberg-signal
Copy link
Contributor

Can you talk about your network? What network state are you in when this happens? Does it happen whenever you're offline, or when your DNS provider is having problems?

@oconnetf
Copy link

oconnetf commented Feb 6, 2019

I got something similar recently when I opened my Mac without a wifi connection with Signal still open in the background.

Unhandled Promise Rejection
Error: net::ERR_INTERNET_DISCONNECTED
    at GenericProvider.getLatestVersion (/Applications/Signal.app/Contents/Resources/app.asar/node_modules/electron-updater/src/providers/GenericProvider.ts:18:25)
    at /Applications/Signal.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:347:26
    at Generator.next (<anonymous>)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
From previous event:
    at MacUpdater.getUpdateInfoAndProvider (/Applications/Signal.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:336:43)
    at /Applications/Signal.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:363:31
    at Generator.next (<anonymous>)
From previous event:
    at MacUpdater.doCheckForUpdates (/Applications/Signal.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:360:34)
    at MacUpdater.checkForUpdates (/Applications/Signal.app/Contents/Resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:220:35)
    at Timeout.checkForUpdates [as _onTimeout] (/Applications/Signal.app/Contents/Resources/app.asar/app/auto_update.js:22:15)
    at ontimeout (timers.js:427:11)
    at tryOnTimeout (timers.js:289:5)
    at listOnTimeout (timers.js:252:5)
    at Timer.processTimers (timers.js:212:10)

@Dyras
Copy link

Dyras commented Feb 6, 2019

@scottnonnenberg-signal I also experienced something similar. Please tell me if you want to make a new issue or if you want it here.

Unhandled Promise Rejection
Error: EPERM: operation not permitted, open 'C:\Users\johan\AppData\Local\signal-desktop-beta-updater\pending\temp-signal-desktop-beta-win-1.21.0-beta.4.exe'
    at ElectronHttpExecutor.download (C:\Users\johan\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\electronHttpExecutor.ts:23:73)
    at Object.<anonymous> (C:\Users\johan\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\NsisUpdater.ts:35:35)
From previous event:
    at Object.task (C:\Users\johan\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\NsisUpdater.ts:31:11)
    at C:\Users\johan\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:610:25
From previous event:
    at NsisUpdater.executeDownload (C:\Users\johan\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:545:68)
    at NsisUpdater.executeDownload (C:\Users\johan\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\BaseUpdater.ts:27:18)
    at NsisUpdater.doDownloadUpdate (C:\Users\johan\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\NsisUpdater.ts:27:17)
    at NsisUpdater.downloadUpdate (C:\Users\johan\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:420:19)
    at C:\Users\johan\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:383:49
    at Generator.next (<anonymous>)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
From previous event:
    at NsisUpdater.doCheckForUpdates (C:\Users\johan\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:360:34)
    at NsisUpdater.checkForUpdates (C:\Users\johan\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:220:35)
    at Timeout.checkForUpdates [as _onTimeout] (C:\Users\johan\AppData\Local\Programs\signal-desktop-beta\resources\app.asar\app\auto_update.js:22:15)
    at ontimeout (timers.js:427:11)
    at tryOnTimeout (timers.js:289:5)
    at listOnTimeout (timers.js:252:5)
    at Timer.processTimers (timers.js:212:10)

Immediately after starting Signal after the crash, I received a "A new version of Signal is available" message so if I had to guess, this is an issue with the updater. This has never happened before.
https://debuglogs.org/2f877f19b0736b9eb581e4a4d74e0d93e1eb5537fef0c8372f9a3ac073478933

@scottnonnenberg-signal scottnonnenberg-signal changed the title Intermittent Crashes [Unhandled Promise Rejection] Crash: "net::ERR_NAME_NOT_RESOLVED" Feb 6, 2019
@scottnonnenberg-signal
Copy link
Contributor

@Dyras: We did have one other report of the permissions issue on windows: #3106. It would be helpful if you could put your scenario details there. Thanks!

@greggirwin
Copy link


Bug description

Since updating to v1.21.0 I get the following error from Signal desktop every time I wake my system (WIndows 10) from overnight sleep. It never happened in previous versions. It appears that the system needs to be asleep for some time. Just putting it to sleep and waking it right back up doesn't reproduce the issue. Based on NsisUpdater.getUpdateInfoAndProvider and the use of electron-updater, my guess is that Signal tries to look for updates on waking, and the net connection isn't established yet.

Unhandled Promise Rejection
Error: net::ERR_NAME_NOT_RESOLVED
    at GenericProvider.getLatestVersion (C:\Users\Gregg\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\providers\GenericProvider.ts:18:25)
    at C:\Users\Gregg\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:347:26
    at Generator.next (<anonymous>)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
From previous event:
    at NsisUpdater.getUpdateInfoAndProvider (C:\Users\Gregg\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:336:43)
    at C:\Users\Gregg\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:363:31
    at Generator.next (<anonymous>)
From previous event:
    at NsisUpdater.doCheckForUpdates (C:\Users\Gregg\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:360:34)
    at NsisUpdater.checkForUpdates (C:\Users\Gregg\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:220:35)
    at Timeout.checkForUpdates [as _onTimeout] (C:\Users\Gregg\AppData\Local\Programs\signal-desktop\resources\app.asar\app\auto_update.js:22:15)
    at ontimeout (timers.js:427:11)
    at tryOnTimeout (timers.js:289:5)
    at listOnTimeout (timers.js:252:5)
    at Timer.processTimers (timers.js:212:10)

Steps to reproduce

  • Run signal
  • Leave Signal running and put the system to sleep for some extended period
  • Wake the system

When the system wakes up, a dialog with the above error message is displayed, and the Signal window is gone.

Device info

  • Desktop system
  • WIndows 10

@n31n
Copy link

n31n commented Feb 8, 2019

I am having a similar crash on startup issue. Clean install of 1.21.0 on Windows 10 pro.
I am running an IP firewall and I noticed Signal Desktop attempts to connect to several Amazon ip's. If Signal Desktop can not connect, it crashes. This is a new issue with the newest version of Signal Desktop. Prior versions would give me the yellow "Disconnected" notification in signal itself, but not crash. Also to note, up until relatively recently, Signal Desktop was not utilizing Amazon ip's, afaik.
Here are some of the ip's Signal is trying to connect to:
13.249.55.11
13.249.55.42
13.249.55.32
13.249.55.98
34.225.240.173

I am having issues attaching the log file for some reason.
Paste:

Unhandled Promise Rejection
Error: net::ERR_NETWORK_ACCESS_DENIED
    at GenericProvider.getLatestVersion (C:\Users\nein\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\providers\GenericProvider.ts:18:25)
    at C:\Users\nein\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:347:26
    at Generator.next (<anonymous>)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
From previous event:
    at NsisUpdater.getUpdateInfoAndProvider (C:\Users\nein\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:336:43)
    at C:\Users\nein\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:363:31
    at Generator.next (<anonymous>)
From previous event:
    at NsisUpdater.doCheckForUpdates (C:\Users\nein\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:360:34)
    at NsisUpdater.checkForUpdates (C:\Users\nein\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:220:35)
    at checkForUpdates (C:\Users\nein\AppData\Local\Programs\signal-desktop\resources\app.asar\app\auto_update.js:22:15)
    at Object.initialize (C:\Users\nein\AppData\Local\Programs\signal-desktop\resources\app.asar\app\auto_update.js:78:3)
    at App.app.on (C:\Users\nein\AppData\Local\Programs\signal-desktop\resources\app.asar\main.js:696:14)

@scottnonnenberg-signal
Copy link
Contributor

We expect this to be fixed by v1.21.1. Please let us know!

@n31n
Copy link

n31n commented Feb 8, 2019 via email

@n31n
Copy link

n31n commented Feb 13, 2019 via email

@scottnonnenberg-signal
Copy link
Contributor

@n31n The ips really aren't important. What is important is the actual error callstack, specific version numbers, a debug log from your client, etc.

@n31n
Copy link

n31n commented Feb 13, 2019 via email

@scottnonnenberg-signal
Copy link
Contributor

@n31n Cool, thanks. Please also paste what you saw in the error dialog before it crashed. The specific callstack is important to help us track down the source of the problem.

@n31n
Copy link

n31n commented Feb 13, 2019 via email

@Bumjubeo
Copy link

Bumjubeo commented Feb 15, 2019

Here is the error dialog that i'm getting, similar issue it looks like.

Unhandled Promise Rejection
Error: EPERM: operation not permitted, open 'C:\Users\<username>\AppData\Local\signal-desktop-updater\pending\temp-signal-desktop-win-1.21.2.exe'
    at ElectronHttpExecutor.download (C:\Users\<username>\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\electronHttpExecutor.ts:23:73)
    at Object.<anonymous> (C:\Users\<username>\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\NsisUpdater.ts:35:35)
From previous event:
    at Object.task (C:\Users\<username>\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\NsisUpdater.ts:31:11)
    at C:\Users\<username>\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:610:25
From previous event:
    at NsisUpdater.executeDownload (C:\Users\<username>\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:545:68)
    at NsisUpdater.executeDownload (C:\Users\<username>\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\BaseUpdater.ts:27:18)
    at NsisUpdater.doDownloadUpdate (C:\Users\<username>\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\NsisUpdater.ts:27:17)
    at NsisUpdater.downloadUpdate (C:\Users\<username>\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:420:19)
    at C:\Users\<username>\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:383:49
    at Generator.next (<anonymous>)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
From previous event:
    at NsisUpdater.doCheckForUpdates (C:\Users\<username>\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:360:34)
    at NsisUpdater.checkForUpdates (C:\Users\<username>\AppData\Local\Programs\signal-desktop\resources\app.asar\node_modules\electron-updater\src\AppUpdater.ts:220:35)
    at Timeout.checkForUpdates [as _onTimeout] (C:\Users\<username>\AppData\Local\Programs\signal-desktop\resources\app.asar\app\auto_update.js:23:23)
    at ontimeout (timers.js:427:11)
    at tryOnTimeout (timers.js:289:5)
    at listOnTimeout (timers.js:252:5)
    at Timer.processTimers (timers.js:212:10)

@scottnonnenberg-signal
Copy link
Contributor

@Bumjubeo We're tracking that error here: #3106

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

No branches or pull requests

7 participants