nodejs / node

Node.js JavaScript runtime ✨🐢🚀✨
https://nodejs.org
Other
107.66k stars 29.63k forks source link

nasm installation fails from Chocolatey #39038

Closed danielleadams closed 3 months ago

danielleadams commented 3 years ago

The coverage-windows and build-windows workflows seem to be failing consistently due to nasm.us being unavailable for Chocolatey (ie. choco install ..), and blocks GitHub checks for staging branches, release branches, and master. With some quick googling, it appears that this is something that happens with the host sometimes, but it can be fixed by using Chocolatey's CDN or having an internally hosted nasm.

Progress: Downloading nasm 2.14.02... 15% Progress: Downloading nasm 2.14.02... 49% Progress: Downloading nasm 2.14.02... 82% Progress: Downloading nasm 2.14.02... 100%

nasm v2.14.02 [Approved] nasm package files install completed. Performing other installation steps. Attempt to get headers for https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/nasm-2.14.02-installer-x64.exe failed. The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/nasm-2.14.02-installer-x64.exe'. Exception calling "GetResponse" with "0" argument(s): "Unable to connect to the remote server" Downloading nasm 64 bit from 'https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/nasm-2.14.02-installer-x64.exe' ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/nasm-2.14.02-installer-x64.exe'. Exception calling "GetResponse" with "0" argument(s): "Unable to connect to the remote server" This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn. The install of nasm was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\nasm\tools\chocolateyInstall.ps1'.


* **Build Links**:
https://github.com/nodejs/node/runs/2826101554
https://github.com/nodejs/node/pull/39031/checks?check_run_id=2826221528
https://github.com/nodejs/node/pull/39031/checks?check_run_id=2826221630
targos commented 3 years ago

It's not the first time I see this happen... Sometimes https://www.nasm.us/ is just down.

bl-ue commented 3 years ago

Yeah, I'm pretty sure that this has happened to me on a non-node-related score at some point in the past too 🤔

danielleadams commented 3 years ago

Should I close this?

targos commented 3 years ago

As you want. If you think it is worth fixing this on our side, it's better to keep it open. Otherwise we can close.

danielleadams commented 3 years ago

Looks like a similar error has happened again: https://github.com/nodejs/node/pull/39782/checks?check_run_id=3344509225 😕 I'll keep it open for now.

shnooshnoo commented 10 months ago

hi @danielleadams I was going through Windows-related issues and noted this one. Both coverage-windows and build-windows workflows have been green lately (coverage windows is actually disabled atm). The problem back then might've been caused by a very early Chocolatey version (0.10), which is very different to what we have now (2.2.2). Considering the above, looks like we can close this issue now?

StefanStojanovic commented 3 months ago

Since this is no longer active, and there has been no answer since the last comment, I'll close this. If you still experience the same issue, please reopen this issue or open a new one.