NodeJS installation giving "curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)" when running from fixed IP address multiple times #3074
Labels
feature requests
I want a new feature in nvm!
installing node
Issues with installing node/io.js versions.
Operating system and version:
Multiple AWS Services (like AWS Device Farm and AWS Code Deploy) which use hosts that exist in a highly-limited IP space
What steps did you perform?
nvm install some_version_number
What happened?
In a small percentage of cases, the download of Node from nodejs.org slows to a crawl before failing. The AWS service teams believe the root cause to be throttling from nodejs.org against the highly-limited IP space used by the hosts running the NVM installation commands.
Exact output:
What did you expect to happen?
nvm install should install the version of node. A reasonable mitigation for this type of problem would be to have the download command (https://github.com/nvm-sh/nvm/blob/master/nvm.sh#L124) use exponential backoffs (https://everything.curl.dev/usingcurl/downloads/retry). Can this be made into a feature-flag (or default behavior) of NVM?
The text was updated successfully, but these errors were encountered: