You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SLOW OR FAILED (500 ERROR) NODE.JS DOWNLOADS #1993
I wonder what traffic looks like... could be a DOS
We've talked about it in the past, but we really should be serving these resources via a CDN... I believe that the issue was maintaining our metrics. I can try and find some time to help out with the infrastructure here if others don't have the time
The issue has been the metrics in terms of why they are not on a CDN, @joaocgreis and @rvagg do have an active discussion on what we might do on that front.
@MylesBorins if you can get help for this specific issue that might be good (please check with @rvagg and @joaocgreis ). Better would be ongoing sustained engagement and contribution to the overall build work.
In addition to downloads only intermittently succeeding, when they do succeed it seems that sometimes (?) the bundled node-gyp is broken. I'm seeing that behavior in CI builds on Azure Pipelines.
For linux builds with successful downloads of Node.js v8.x and v10.x, node-gyp fails to build sources that were previously unproblematic.
For windows builds with successful downloads of Node.js v8.x and v10.x, I'm seeing errors like this:
gyp ERR! stack Error: win-x86/node.lib local checksum 629a559d347863902b81fad9b09ba12d08d939d20a0762578e904c6ee1a7adab not match remote fea7d0c5a94fc834a78b44b7da206f0e60ef11dd20d84dc0d49d57ee77e20e16
That is, in the case of windows node-gyp doesn't attempt to compile; rather, it fails outright owing to the checksum error.
Was looking into this with @targos. It seems to have resolved itself at this point.
Looking at the access logs it was a bit hard to tell if there was more traffic or not as the files for the previous day are compressed. We should be able to compare tomorrow more easily.
Apparently encountering this type of issue still. For the past two days I get around a 20% failure rate consistently:
$ for i in {01..10}; do echo "$i"' '"$(date -u)"; curl https://nodejs.org/dist/v12.13.1/node-v12.13.1-linux-x64.tar.xz -o node-v12.13.1-linux-x64.tar.xz; done
01 Wed Nov 20 19:46:43 UTC 2019
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13.4M 100 13.4M 0 0 217k 0 0:01:03 0:01:03 --:--:-- 1620k
02 Wed Nov 20 19:47:46 UTC 2019
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13.4M 100 13.4M 0 0 4237k 0 0:00:03 0:00:03 --:--:-- 4236k
03 Wed Nov 20 19:47:49 UTC 2019
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13.4M 100 13.4M 0 0 1651k 0 0:00:08 0:00:08 --:--:-- 1247k
04 Wed Nov 20 19:47:57 UTC 2019
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
62 13.4M 62 8527k 0 0 28569 0 0:08:12 0:05:05 0:03:07 19759
curl: (18) transfer closed with 5335120 bytes remaining to read
05 Wed Nov 20 19:53:02 UTC 2019
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13.4M 100 13.4M 0 0 3489k 0 0:00:03 0:00:03 --:--:-- 3488k
06 Wed Nov 20 19:53:06 UTC 2019
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
83 13.4M 83 11.2M 0 0 25695 0 0:09:07 0:07:39 0:01:28 19389
curl: (18) transfer closed with 2255352 bytes remaining to read
07 Wed Nov 20 20:00:46 UTC 2019
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13.4M 100 13.4M 0 0 4398k 0 0:00:03 0:00:03 --:--:-- 4398k
08 Wed Nov 20 20:00:49 UTC 2019
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13.4M 100 13.4M 0 0 2798k 0 0:00:04 0:00:04 --:--:-- 2798k
09 Wed Nov 20 20:00:54 UTC 2019
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13.4M 100 13.4M 0 0 2340k 0 0:00:05 0:00:05 --:--:-- 2282k
10 Wed Nov 20 20:01:00 UTC 2019
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13.4M 100 13.4M 0 0 2149k 0 0:00:06 0:00:06 --:--:-- 2197k
Where are you @matsaman? could be a cloudflare problem in your region. See https://www.cloudflarestatus.com/ and check whether one of the edges close to you is having trouble. Without further reports of problems or something we can reproduce ourselves our best guess is going to be that it's a problem somewhere between Cloudflare and your computer since CF should have it cached.
Items on that page in my region say 'Operational' at this time. Should I encounter the issue again I will check that page after my tests and include my findings here.
@appu24 tar failure doesn't necessarily indicate a download error. Are you able to get more log output for that to see exactly what it's failing on. I would assume something in the chain is generating some stderr logging at least.
changed the title [-]Downloads of binaries from nodejs.org are slow / not working[/-][+]SLOW OR FAILED (500 ERROR) NODE.JS DOWNLOADS[/+]on Aug 30, 2023
Activity
targos commentedon Oct 23, 2019
Top of the

top:targos commentedon Oct 23, 2019
@nodejs/build-infra
atulmy commentedon Oct 23, 2019
Same here, using tj/n, the download just terminates after a while
kachkaev commentedon Oct 23, 2019
Azure DevOps pipelines also suffer, that's because a standard Node.js setup task downloads the binary from nodejs.org.
Kudos to those who are looking into the CPU usage ✌️ You'll nail it! 🙌
sam-github commentedon Oct 23, 2019
@targos what machine is the top output from?
Fwiw, only infra team members are: https://github.com/orgs/nodejs/teams/build-infra/members and Gibson isn't current, he should be removed.
MylesBorins commentedon Oct 23, 2019
I wonder what traffic looks like... could be a DOS
We've talked about it in the past, but we really should be serving these resources via a CDN... I believe that the issue was maintaining our metrics. I can try and find some time to help out with the infrastructure here if others don't have the time
sam-github commentedon Oct 23, 2019
It could also be that 13.x is super popular? Hard to know without access to access logs.
@MylesBorins the infrasture team is even less staffed than the build team as a whole, if you wanted to pick that up, it would be 🎉 fabulous.
mhdawson commentedon Oct 23, 2019
The issue has been the metrics in terms of why they are not on a CDN, @joaocgreis and @rvagg do have an active discussion on what we might do on that front.
@MylesBorins if you can get help for this specific issue that might be good (please check with @rvagg and @joaocgreis ). Better would be ongoing sustained engagement and contribution to the overall build work.
targos commentedon Oct 23, 2019
@sam-github it's from
direct.nodejs.org. I don't have root access to the machine, sotopis basically the only thing I could do to help.sam-github commentedon Oct 23, 2019
I don't even have non-root access, I guess you do because you are on the release team.
We'll have to wait for an infra person.
mhdawson commentedon Oct 23, 2019
I can help take a look after the TSC meeting.
michaelsbradleyjr commentedon Oct 23, 2019
In addition to downloads only intermittently succeeding, when they do succeed it seems that sometimes (?) the bundled
node-gypis broken. I'm seeing that behavior in CI builds on Azure Pipelines.For linux builds with successful downloads of Node.js v8.x and v10.x,
node-gypfails to build sources that were previously unproblematic.For windows builds with successful downloads of Node.js v8.x and v10.x, I'm seeing errors like this:
That is, in the case of windows
node-gypdoesn't attempt to compile; rather, it fails outright owing to the checksum error.mhdawson commentedon Oct 23, 2019
@michaelsbradleyjr I suspect that the node-gyp failures would have been related to downloading header files.
mhdawson commentedon Oct 23, 2019
Was looking into this with @targos. It seems to have resolved itself at this point.
Looking at the access logs it was a bit hard to tell if there was more traffic or not as the files for the previous day are compressed. We should be able to compare tomorrow more easily.
mhdawson commentedon Oct 23, 2019
Top on the machine looks pretty much the same as it did while there were issues as well
43 remaining items
OriginalEXE commentedon Nov 6, 2019
Thank you to everyone for their hard work, sending virtual 🤗.
matsaman commentedon Nov 20, 2019
Apparently encountering this type of issue still. For the past two days I get around a 20% failure rate consistently:
rvagg commentedon Nov 21, 2019
Where are you @matsaman? could be a cloudflare problem in your region. See https://www.cloudflarestatus.com/ and check whether one of the edges close to you is having trouble. Without further reports of problems or something we can reproduce ourselves our best guess is going to be that it's a problem somewhere between Cloudflare and your computer since CF should have it cached.
matsaman commentedon Nov 22, 2019
Items on that page in my region say 'Operational' at this time. Should I encounter the issue again I will check that page after my tests and include my findings here.
appu24 commentedon Jan 14, 2020
Hi,
I am still facing this problem on Azure DevOps.
Do we have a fix for this by any chance?
Thanks in advance.
mhdawson commentedon Jan 14, 2020
I'm getting fast downloads. Please open a new issue if you believe there is still a problem versus commenting on this close issue.
rvagg commentedon Jan 14, 2020
@appu24 tar failure doesn't necessarily indicate a download error. Are you able to get more log output for that to see exactly what it's failing on. I would assume something in the chain is generating some stderr logging at least.
tbsvttr commentedon Aug 21, 2023
very slow download for me
saschanos commentedon Aug 30, 2023
Experiencing issues for weeks now; from different IPs and servers. Is there any known reason for this?
MattIPv4 commentedon Aug 30, 2023
Yes, the origin server is being overloaded with traffic, in part due to every release of Node.js purging the Cloudflare cache for the entire domain.
There are a bunch of issues open that aim to help rectify this:
[-]Downloads of binaries from nodejs.org are slow / not working[/-][+]SLOW OR FAILED (500 ERROR) NODE.JS DOWNLOADS[/+]hellmediadev commentedon Sep 27, 2023
nodejs.org file delivery is currently not working again. This might be a working mirror:
https://mirrors.cloud.tencent.com/nodejs-release/
stevenmettler commentedon Oct 25, 2023
Hi there, can't download node. Continued "Failed - Network Error" from my mac