@bnb reported that Electron were seeing downloads from the headers server not matching the checksums in the SHA256SUMS.txt file:
curl --compressed https://nodejs.org/download/release/v14.17.5/win-x86/node.lib |sha256sum
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 845k 0 845k 0 0 1242k 0 --:--:-- --:--:-- --:--:-- 1250k
49a6c038e4e53657b1b7a173c601e8ba1585d0f6dbfa88ac789dba107d596812 -
https://nodejs.org/download/release/v14.17.5/SHASUMS256.txt
1078be47b9315c81aa3bb989c4bba8ee23e0da9e4854a44006decf45d578833e win-x86/node.lib
We had something similar reported four days ago with the node.lib file from a different release: nodejs/node#46594
In both cases the files on our two servers (www and unencrypted) still matched the checksum -- further investigation showed the file downloaded/cached from the nodejs.org URL was truncated. Purging CloudFlare's CDN cache[1] fixed both issues, although I'm concerned we've now seen this twice.
[1]: @nodejs/build-infra To purge the cache, log into www and run
/home/nodejs/queue-cdn-purge.sh nodejs <reason>
where <reason> is something like, e.g.
/home/nodejs/queue-cdn-purge.sh nodejs gh-build-3194
(The <reason> gets logged to /home/nodejs/cdn-purge.log.) Once queued the purge should happen within five minutes. The queue script will write /tmp/cdnpurge.nodejs and this file will be removed when the purge happens.
@bnb reported that Electron were seeing downloads from the headers server not matching the checksums in the SHA256SUMS.txt file:
https://nodejs.org/download/release/v14.17.5/SHASUMS256.txt
1078be47b9315c81aa3bb989c4bba8ee23e0da9e4854a44006decf45d578833e win-x86/node.libWe had something similar reported four days ago with the node.lib file from a different release: nodejs/node#46594
In both cases the files on our two servers (www and unencrypted) still matched the checksum -- further investigation showed the file downloaded/cached from the nodejs.org URL was truncated. Purging CloudFlare's CDN cache[1] fixed both issues, although I'm concerned we've now seen this twice.
[1]: @nodejs/build-infra To purge the cache, log into www and run
/home/nodejs/queue-cdn-purge.sh nodejs <reason>where
<reason>is something like, e.g./home/nodejs/queue-cdn-purge.sh nodejs gh-build-3194(The
<reason>gets logged to/home/nodejs/cdn-purge.log.) Once queued the purge should happen within five minutes. The queue script will write/tmp/cdnpurge.nodejsand this file will be removed when the purge happens.