question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Redirect was cancelled

See original GitHub issue

electron-builder@21.2.0

electron-updater@4.2.0

target=mac

Having problems getting my autoUpdate to work. Note that I’m pointing at a github repository that is different than the one in the .git/config.

stdout: 20:53:04.849 › Checking for update
stdout: 20:53:04.986 › Current microphone access status: granted
stdout: 20:53:05.027 › Current camera access status: granted
20:53:05.028 › true true
stdout: 20:53:07.240 › Found version 0.0.10 (url: app-0.0.10-mac.zip, app-0.0.10.dmg)
stdout: update avail, downloading
stdout: 20:53:07.241 › Downloading update from app-0.0.10-mac.zip, app-0.0.10.dmg
stderr: 20:53:07.243 › updaterCacheDirName is not specified in app-update.yml Was app build using at least electron-builder 20.34.0?
stderr: (electron) 'getName function' is deprecated and will be removed. Please use 'name property' instead.
stdout: 20:53:07.246 › updater cache dir: /Users/xxx/Library/Application Support/Caches/app
stdout: 20:53:07.251 › No cached update info available
stderr: 20:53:07.542 › Error: Error: Redirect was cancelled
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2558:23)
    at SimpleURLLoaderWrapper.emit (events.js:203:13)
stdout: Error: Redirect was cancelled
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2558:23)
    at SimpleURLLoaderWrapper.emit (events.js:203:13)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:31 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
lutzroedercommented, Dec 26, 2019

@nornagon @MarshallOfSound @codebytere @ckerr this is the same issue as electron/electron#21566. It’s a regression in Electron 7.1.3 in how aborted redirect requests are handled that broke updates for all apps using electron-updater.

3reactions
burtonatorcommented, Dec 17, 2019

Is there a fix for this? I’m dead in the water and can’t push releases. This should not be closed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OAuth Cancelled Redirect on Failed GET Request and ...
The server redirect fails. Instead of seeing a log in page for them to enter their credentials, they see a blank page in...
Read more >
How to Fix The ERR_TOO_MANY_REDIRECTS Error - Kinsta
The ERR_TOO_MANY_REDIRECTS error is pretty much what it sounds like: something is causing too many redirects, sending your website into an ...
Read more >
Redirect Page After Payment Is Cancelled - WordPress.org
I have a Website with Credit card and Visa Payment Gateway, in the checkout if customer chose to pay and open the form...
Read more >
Some requests get canceled after redirecting to a named route
Seems like I had some code which checked for parameters in the url on pageload. When some parameters were set the page would...
Read more >
Error: "This operation has been cancelled due to restrictions in ...
This article details a known issue with Special Folder Redirection and Group Policy Drive Restriction settings within XenApp 5.0 for Windows Server 2008....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found