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
404 response for various Node.js downloads and pages #5149
More seriously, it's the gzip files that seem broken so far. The "download now" link for me (linux x64) uses the xz file...and that link works. Too bad the asdf plugin for node wants the gz version. (Probably should be using xz anyway)
@ovflowd The 404 is returning the new 404 page rather than the old nginx one, so I'm not sure if the new build isn't passing through a request correctly
The only file that is giving 404 is https://nodejs.org/dist/v16.13.0/node-v16.13.0-darwin-x64.tar.gz so far. I've tried all other files of that directory and they're working.
The 404 is returning the new 404 page rather than the old nginx one, so I'm not sure if the new build isn't passing through a request correctly
Afaik we were always for every 404 within the server returning the Website 404. The only change we made was to also add the 404 to non-https requests.
More seriously, it's the gzip files that seem broken so far. The "download now" link for me (linux x64) uses the xz file...and that link works. Too bad the asdf plugin for node wants the gz version. (Probably should be using xz anyway)
@keithlayne actually no, only one file is 404'ing. All other gz files are working.
@keithlayne this seems to be a CloudFlare cache issue. You can check by accessing https://direct.nodejs.org/dist/v16.13.0/ which is the direct connection to our server, and all the links there work normally.
I know this doesn't solve your issue, but I'm checking with the team what are our options.
@ovflowd That is really good info, thank you! Looks like I can use that url to solve my current pain. Once I started poking around I was starting to see some CF cache headers.
Please just a friendly reminder, avoid using direct.nodejs.org when possible. Our server sadly was not designed to handle the load that the web usually does to download Node.js 😅
seems to work - but let's be responsible, node uses a CDN for a reason.
Is this from Artifactory? There is some filtering being put int place because of problems from a lot of misconfigured instances nodejs/build#3223
Our case was from Gradle too (specifically gradle-node-plugin, but I'm guessing the only significance is the plugin leads to a HEAD request, not just a GET.)
I'm still seeing failed builds with respect to Ivy:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':project-theme-default:nodeSetup'.
> Could not resolve all files for configuration ':project-theme-default:detachedConfiguration1'.
> Could not resolve org.nodejs:node:16.19.1.
Required by:
project :project-theme-default
> Could not resolve org.nodejs:node:16.19.1.
> Could not get resource 'https://nodejs.org/dist/v16.19.1/ivy.xml'.
> Could not GET 'https://nodejs.org/dist/v16.19.1/ivy.xml'. Received status code 403 from server: Forbidden
That's a file that has never existed on the Node.js servers. Suggest you open up an issue on the Ivy plugin, as that would be an issue for their plugin
Also got the same problem since 17.3.2023:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':nodeSetup'.
> Could not resolve all files for configuration ':detachedConfiguration1'.
> Could not resolve org.nodejs:node:12.22.6.
Required by:
project :
> Could not resolve org.nodejs:node:12.22.6.
> Could not get resource 'https://nodejs.org/dist/v12.22.6/ivy.xml'.
> Could not GET 'https://nodejs.org/dist/v12.22.6/ivy.xml'. Received status code 403 from server: Forbidden
@tomzi8571 as explained by @tridium-gward this is not an issue from our side. This file never existed and with the updated configuration it should now be properly handling the requests. So you have a misconfigured setup of your "Ivy"
@tomzi8571 as explained by @tridium-gward this is not an issue from our side. This file never existed and with the updated configuration it should now be properly handling the requests. So you have a misconfigured setup of your "Ivy"
Ok, but this configuration hasn't changed in years ... and this also broke Friday ...
As a result of triaging this issue, additional blocking rules were setup in nodejs/build#3223. This never worked, but previously didn't hard block as before @petty. This was always a misconfiguration, and won't be rolled back
To add to @nschonni's explanation, this route likely returned 404 before, and your tooling might have silently ignored that particular error code. The new firewall configuration blocks requests from some misconfigured Artifactory/Gradle setups that would otherwise cause unnecessary load on our infrastructure, resulting in status code 403.
`What went wrong:
Execution failed for task ':carelogic-webapp:nodeSetup'.
Could not resolve all dependencies for configuration 'detachedConfiguration1'.
Could not resolve org.nodejs:node:10.15.3.
Required by:
com.qualifacts.carelogic:carelogic-webapp:276.01
> Could not GET 'https://nodejs.org/dist/v10.15.3/ivy.xml'. Received status code 403 from server: Forbidden`
Activity
keithlayne commentedon Mar 15, 2023
I only tried one download, but it was a 404 as well. But https://status.nodejs.org/ is all green so I must be HTTPing wrong. 😛
keithlayne commentedon Mar 15, 2023
More seriously, it's the gzip files that seem broken so far. The "download now" link for me (linux x64) uses the xz file...and that link works. Too bad the asdf plugin for node wants the gz version. (Probably should be using xz anyway)
nschonni commentedon Mar 15, 2023
@ovflowd The 404 is returning the new 404 page rather than the old nginx one, so I'm not sure if the new build isn't passing through a request correctly
/cc @nodejs/build
ovflowd commentedon Mar 15, 2023
The only file that is giving 404 is
https://nodejs.org/dist/v16.13.0/node-v16.13.0-darwin-x64.tar.gzso far. I've tried all other files of that directory and they're working.Afaik we were always for every 404 within the server returning the Website 404. The only change we made was to also add the 404 to non-https requests.
ovflowd commentedon Mar 15, 2023
@keithlayne actually no, only one file is 404'ing. All other
gzfiles are working.ovflowd commentedon Mar 15, 2023
@nodejs/build can we check why only
https://nodejs.org/dist/v16.13.0/node-v16.13.0-darwin-x64.tar.gzthis file is somehow 404'ing?blimmer commentedon Mar 15, 2023
I noticed that https://nodejs.org/dist/v18.13.0/node-v18.13.0-linux-arm64.tar.xz is 404ing
but these versions around it are not:
keithlayne commentedon Mar 15, 2023
@ovflowd I was here becasue of this:
So there are more problems than that one file.
ovflowd commentedon Mar 15, 2023
@keithlayne this seems to be a CloudFlare cache issue. You can check by accessing https://direct.nodejs.org/dist/v16.13.0/ which is the direct connection to our server, and all the links there work normally.
I know this doesn't solve your issue, but I'm checking with the team what are our options.
keithlayne commentedon Mar 15, 2023
...and that file just started serving, in the last 15 seconds.
ovflowd commentedon Mar 15, 2023
I can also check that this is being served directly within CloudFlare with
curl -vAs
104.20.22.46is a CloudFlare IP Address.ovflowd commentedon Mar 15, 2023
https://direct.nodejs.org/dist/v18.13.0/node-v18.13.0-linux-arm64.tar.xz seems to be working fine. So double-down a CloudFlare cache issue.
keithlayne commentedon Mar 15, 2023
@ovflowd That is really good info, thank you! Looks like I can use that url to solve my current pain. Once I started poking around I was starting to see some CF cache headers.
For anyone else who may run into this:
seems to work - but let's be responsible, node uses a CDN for a reason.
ovflowd commentedon Mar 15, 2023
Please just a friendly reminder, avoid using direct.nodejs.org when possible. Our server sadly was not designed to handle the load that the web usually does to download Node.js 😅
Exactly! Thank you for your understanding 🙇
40 remaining items
ashsearle commentedon Mar 17, 2023
Our case was from Gradle too (specifically
gradle-node-plugin, but I'm guessing the only significance is the plugin leads to a HEAD request, not just a GET.)ovflowd commentedon Mar 17, 2023
We've just fixed the issue by deploying a new CF Firewall rule.
petty commentedon Mar 20, 2023
I'm still seeing failed builds with respect to Ivy:
nschonni commentedon Mar 20, 2023
That's a file that has never existed on the Node.js servers. Suggest you open up an issue on the Ivy plugin, as that would be an issue for their plugin
tomzi8571 commentedon Mar 20, 2023
Also got the same problem since 17.3.2023:
FAILURE: Build failed with an exception.
But also https://nodejs.org/dist/v12.22.6/ returns 500
ovflowd commentedon Mar 20, 2023
@tomzi8571 as explained by @tridium-gward this is not an issue from our side. This file never existed and with the updated configuration it should now be properly handling the requests. So you have a misconfigured setup of your "Ivy"
petty commentedon Mar 20, 2023
Ok, but this configuration hasn't changed in years ... and this also broke Friday ...
nschonni commentedon Mar 20, 2023
As a result of triaging this issue, additional blocking rules were setup in nodejs/build#3223. This never worked, but previously didn't hard block as before @petty. This was always a misconfiguration, and won't be rolled back
tniessen commentedon Mar 20, 2023
To add to @nschonni's explanation, this route likely returned 404 before, and your tooling might have silently ignored that particular error code. The new firewall configuration blocks requests from some misconfigured Artifactory/Gradle setups that would otherwise cause unnecessary load on our infrastructure, resulting in status code 403.
petty commentedon Mar 20, 2023
Ok, all good ... I just needed a newer version of the Gradle Node plugin (specifically moving from 1.3.0 to 1.5.3).
cjiga commentedon Mar 20, 2023
The same problem with version: v10.15.3
`What went wrong:
Execution failed for task ':carelogic-webapp:nodeSetup'.
ovflowd commentedon Mar 20, 2023
@cjiga please, read prior comments before posting here.
I'm locking this issue to avoid duplicated comments and pings to the people here.