electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

AutoUpdater can‘t access feed url after cancel download 4/5 times

Open zhhan0012 opened this issue 1 year ago • 2 comments

  • Electron Builder Version: 22.10.5 / 23.3.3
  • Electron Version: 13.1.4
  • Electron Type (current, beta, nightly):
  • Electron Updater Version: 4.3.5 / 5.2.1
  • target: Window10

step

  1. autoUpdater.setFeedURL(url)
  2. check for update
  3. autoUpdater.downloadUpdate(cancellationToken) to satrt download
  4. cancellationToken.cancel to cancel before download completed
  5. repeat steps 2-4, after 4/5 times, can't check update and downlaod, throw error

error

[error] Error: Error: net::ERR_HTTP2_PROTOCOL_ERROR at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:105:7068) at SimpleURLLoaderWrapper.emit (events.js:315:20) Error in auto-updater. Error: net::ERR_HTTP2_PROTOCOL_ERROR

note

set disable-http2 and requestHeaders is invalid

zhhan0012 avatar Aug 10 '22 03:08 zhhan0012

Please try latest version of electron-builder and electron-updater. I can't support/debug older versions.

mmaietta avatar Aug 12 '22 20:08 mmaietta

Please try latest version of electron-builder and electron-updater. I can't support/debug older versions.

I try with the electron-builder(23.3.3) and electron-updater(5.2.1),the problem still exists

zhhan0012 avatar Aug 23 '22 02:08 zhhan0012

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Sep 03 '23 00:09 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Dec 25 '23 00:12 github-actions[bot]