Error: Request timed out on app update on Mac
See original GitHub issueSpecs
- Versions:
"electron": "^8.0.3",
"electron-builder": "^22.4.0",
- Target:
Mac
Issue
Hi. I’m facing some serious problems with electron-builder
when autoupdating my app.
After running the app, it searches for new update and automatically starts downloading it. This works fine: more and more bytes are downloaded, connection is stable and speed is quite good (4 - 7 Mb/s).
But on the bottom of the console, you’ll se an error. It occurs every time and always after about 45 seconds.
I’m also attaching log from autoupdater:
[2020-03-06 13:54:46.250] [error] Error: Error: Request timed out
at Timeout.n [as _onTimeout] (/Applications/PureDesktopApp.app/Contents/Resources/app.asar/dist/main.js:1:67792)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)
It looks like you need to have quite fast internet connection, enough to download the whole update in 45 sec. There are no issues on linux and windows as they support differential download which can be easily downloaded in 45 seconds even when having slow connection.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:7
Top Results From Across the Web
macOS Big Sur installation timed o… | Apple Developer Forums
I'm getting this error "The request timed out" and "bridgeOS update prepare timed out" on macOS Big Sur 11.0.1 (not beta). I tried...
Read more >r/mac - Trying to update, always says request timed out ...
First do a normal restart and try again. If that doesn't work try starting in safe mode and installing there. To start it...
Read more >How to Fix The Request Timed Out An Error Occurred while ...
The Request Timed out when Installing macOS big sur, Cannot Install macOS big sur, How to fix macOS big sur installing error.
Read more >The Request Timed Out An Error Occured while Installing the ...
the Request Timed Out error when installing macOS Catalina, the Request ... the Selected on macOS Catalina, can't install Catalina update.
Read more >Gateway Timed Out error in Apple MacOS
a lot of users are downloading or installing Mac OS Catalina at the same time. · there is slow Internet connection. · your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I just encountered the same error and I found what’s causing this. I haven’t proposed a fix yet, but take a look at my comments on this PR: https://github.com/electron-userland/electron-builder/pull/4649
To me it happens after around 30s (which is the timeout value set for aborting the request after receiving the close-event).
The same issue happens also on other platforms (at least on Windows, but I suspect it affects all platforms). Reverting
electron-updater
back to version 4.2.2 fixes the issue.Hi, everybody
I have the same issue on linux.