-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to install new versions volta hangs indefinitely and uses all available network bandwidth #1744
Comments
as a follow up I wasn't able to find a relevant mirror for {
"node": {
"index": {
"template": "https://mirrors.dotsrc.org/nodejs/release/index.json"
},
"distro": {
"template": "https://mirrors.dotsrc.org/nodejs/release/v{{version}}/{{filename}}"
}
},
"yarn": {
"distro": {
"template": "https://raw.githubusercontent.com/yarnpkg/berry/%40yarnpkg/cli/{{version}}/packages/yarnpkg-cli/bin/yarn.js"
}
}
} |
this happens to me as well! |
I am also experiencing this issue |
This is extremely odd, thank you all for reporting! Is this still happening and consistent? And does it happen trying to access the paths directly via |
Happening to me too.. |
this is definitely still happening, and I don't have any issues curling that URL |
@charlespierce anything else I can do to help find the source of the issue? |
I'm seeing this too, using volta 1.1.1 on macOS 14.5, the verbose output is: volta install node --verbose
[verbose] No custom hooks found
[verbose] Found valid cache of Node version index
[verbose] Found newest LTS node version (20.14.0) from https://nodejs.org/dist/index.json
[verbose] Acquiring lock on Volta directory: /Users/me/.volta/volta.lock
[verbose] Downloading [email protected] from https://nodejs.org/dist/v20.14.0/node-v20.14.0-darwin-arm64.tar.gz This is all that is output before the process hangs. There doesn't seem to be excessive CPU usage:
And network traffic is pretty constrained -
(but they could have come and gone before i got this snapshot) I have the same behavior when used for installing as part of a node
but here the hang eventually resolves with the error:
|
still getting this behavior, bump |
@charlespierce is there anything we can do to help you look into this? It's pretty disruptive to our development since it hangs forever without an error message and kills network traffic |
Sorry, just saw this (have been busy on other stuff!). From the error messages @JamesPHoughton shared and the description of what people are seeing, it looks like that’s probably coming from some interaction between a bad download and attempting to unpack the result of that. For others on the Volta team who are spelunking/debugging (or users who want to help), the relevant chunks of code are: volta/crates/volta-core/src/tool/node/fetch.rs Lines 180 to 184 in fd9cc3f
volta/crates/volta-core/src/tool/node/fetch.rs Lines 67 to 72 in fd9cc3f
volta/crates/volta-core/src/tool/node/fetch.rs Lines 104 to 111 in fd9cc3f
The relevant code paths haven’t been touched in 5 years (there are a couple Clippy fixes that are unreleased, but that’s it). I suspect something is happening volta/crates/archive/src/tarball.rs Lines 37 to 78 in fd9cc3f
I will keep spelunking if and as I have time, but also welcome other folks digging in a bit. |
For anyone following on the thread, and per my edit (which you would not have gotten notified about), this is all in our own code; there is no upstream. 🤦🏻♂️ A good next step might be for us to get a build up that folks can run to diagnose, with some additional tracing in Volta’s internal |
Request for more info from folks on the thread who are hitting this: what operating system are you using? We have at least one confirmed Mac user, but I’d like to know for the rest as part of debugging! |
Websites will not load and I have not waited long enough for the command to ever resolve or error (I've waited over 10 minutes)
I was able to solve this temporarily for
node
downloads by configuring thehooks.json
file with a mirrorthis is also happening when trying to install new versions of
yarn
I first encountered this close to 2 or 3 weeks ago and it has not yet been resolved
it doesn't looks like a new version of
volta
has been released, but perhaps some certificates have expired?if I open Activity Monitor and quit
volta-shim
my website loads immediatelyOS: MacOS 14.4.1
The text was updated successfully, but these errors were encountered: