Skip to content
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

Open
effervescentia opened this issue Apr 26, 2024 · 7 comments

Comments

@effervescentia
Copy link

effervescentia commented Apr 26, 2024

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 the hooks.json file with a mirror

{
    "node": {
        "index": {
            "template": "https://mirrors.dotsrc.org/nodejs/release/index.json"
        },
        "distro": {
            "template": "https://mirrors.dotsrc.org/nodejs/release/v{{version}}/{{filename}}"
        }
    }
}

this 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 immediately

OS: MacOS 14.4.1

@effervescentia
Copy link
Author

as a follow up I wasn't able to find a relevant mirror for yarn but I followed this comment and used the releases from github as distro template

{
    "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"
        }
    }
}

@xavidop
Copy link

xavidop commented Apr 26, 2024

this happens to me as well!

@edison-vflow
Copy link

I am also experiencing this issue
@Volta could you please help resolve

@charlespierce
Copy link
Contributor

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 curl or the browser (e.g. https://nodejs.org/dist/index.json)?

@gillyb
Copy link

gillyb commented May 15, 2024

Happening to me too..
Trying to reach that url from the browser works for me.

@effervescentia
Copy link
Author

this is definitely still happening, and I don't have any issues curling that URL
It's also happening with yarn releases, so nothing specific to the NodeJS download servers

@effervescentia
Copy link
Author

@charlespierce anything else I can do to help find the source of the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants