electron-builder: Cannot parse blockmap when auto updating
-
Electron Builder Version: 22.4.0
-
Electron Updater Version: 4.2.4
-
Target: NSIS
My app is updating from a private github repo and when the update check starts it never downloads differentially because of the following error.
Cannot download differentially, fallback to full download: Error: Cannot parse blockmap "https://api.github.com/repos/VitruxPT/w-assistant/releases/assets/18470277.blockmap", error: incorrect header check, raw data:...
The publish command always works fine and all the files (exe, blockmap, latest.yml) are being sent to the repo sucessfully so I’m not sure if this is on my end.
This is how my main.log looks like:

Thanks in advance
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 27
- Comments: 33 (6 by maintainers)
I made a PR to fix this issue.
To fix it immediately on your release computer do the following
node_modules/electron-updater/out/NsisUpdater.js@VitruxPT @Jarinha99 @subh261096 @shellcodesniper @dnorth @StebneRuslan PR https://github.com/electron-userland/electron-builder/pull/5025 Guys, can you try commenting on my PR so that it gets merged quickly?
I am facing the same exact issue while auto-updating but after some time the update occurs but full download is done not differential.
Hello, we have the same issues even with the PR
Same here! Electron builder: 22.11.7 Electron: 12.0.10 Electron-updater: 4.3.4
Another(?) Solve
WIthout using CMD to execute,then it works…
Seeing the same problem! Download still happening but no differential. Uploading to S3:
same HERE …!
Same here, differential never work because of this issue.
Same error with “electron”: “^8.2.2”, “electron-builder”: “^22.5.1”, “electron-updater”: “^4.3.1”
and a public repo