-
Notifications
You must be signed in to change notification settings - Fork 893
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
Can't install, fails with: "internal error inside Hyper and/or its dependencies, please report" #3391
Comments
Thats .. .strange. The first error is likely something in the reqwest -> hyper -> tokio stack (using reqwest blocking client). The second suggests either bad DNS, bad TLS certs, or some wicked combination. Can you explore this a bit? e.g. with strace? Duplicate the HTTP call that fails with a command line curl? |
I'm able to
I'm not really sure what to look for in the I took a network capture and dropped it into Wireshark but not really seeing anything jump out at me there either... I do see the DNS requests and responses and they seem fine. Only thing jumping out at me is that I'm getting IPv6 addresses back... I'm going to try disabling IPv6 altogether to see if I have any better luck. |
Welp, I disabled IPv6 (and verified that I'm getting IPv4 addresses back via network capture) but still no luck... |
I realize this is a real stinker of an issue since "it works on my machine" -- I mean, it actually works on MY machine on the same network, using the same OS and similar configuration... If anyone has any tips on further |
You could copy the ~/.rustup directory between the two machines to get a working install, and then grab the rustup source, build it locally and step into it with a debugger. I'd love to know whats going on here. |
Problem
I'm trying to install Rust using the recommended
rustup
command:but it's failing like so (with
--verbose
):I've also tried forcing the
curl
fallback download helper as recommended in #1328 (by settingRUSTUP_USE_CURL=1
), but it fails with a different error:Steps
Possible Solution(s)
No response
Notes
This is on Arch Linux, x86_64. No network proxy. I'm able to
curl https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256
just fine:Oddly enough, I have another machine on this same network also running Arch, using the same DNS, same default route, same kernel, same network proxy settings (no proxy), similar package selection (both fully up-to-date), and
rustup
(same version) works just fine on that machine.Rustup version
`rustup-init 1.26.0 (5af9b9484 2023-04-05)`
Installed toolchains
Guess I'm not bootstrapped far enough along to have a working
show
subcommand?Oh wait, hold on, here you go:
The text was updated successfully, but these errors were encountered: