Open kevinkyle4 opened 2 months ago
Can you please add additional logging to electron-updater and post back the updater logs?
const log = require("electron-log")
log.transports.file.level = "debug"
autoUpdater.logger = log
Wondering if we could get more info about the Error: incorrect header check
. Might be worth you also checking the network logs to debug that further.
The issue I believe is due to the ReverseProxy I'm using for the service which is changing the header. Do you know how to maintain the header electron-updater uses if using something like ReverseProxy or ProxyPassReverse in Apache so the header isnt impacted?
electron-builder version: ^24.9.1 node version: v19.9.0 electron version: ^28.2.0 electron-updater version: ^6.2.1
Have followed tutorial shown in electronjs.org for creating electron update server (https://github.com/ArekSredzki/electron-release-server).
Initially was getting the updates then have been getting same error repeatedly and seems there is no fix. This Github issue is same issue which doesn't appear to have been resolved: https://github.com/electron-userland/electron-builder/issues/4736
Below is my full error where it shows I cannot download differentially:
Cannot download differentially, fallback to full download: Error: Cannot parse blockmap error: Error: incorrect header check
Then it tries the full download which also fails due to
UnhandledPromiseRejectionWarning: Error: sha512 checksum mismatch, expected yODslm/lssAJ/Cbm3Y8gFib7rNmmtBjFATa/V4/z25Efl782vFpF9CWwRKXtguDiRGP20hTnxVdBzKRTNoJtDA==, got 8caLXdBUlgNo5JkwfhZ1I3POGV/M7rAqRLidcCBv3hroz4mrRG9BnM0jEqDxm1Qr8I/oBRuHQbkv/arrppHOiw==
Trying to use the https://github.com/ArekSredzki/electron-release-server as it comes with a UI which makes it easier to manage version control and updates but this error has me bogged down for weeks. If someone can provide assistance would be much appreciated.