-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Cargo install: spurious network error #11344
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
Comments
I am sorry to hear you having this issue. I don't think I am helpful enough, as my experience with Windows is not sufficient 😞. If you use By the way, you may get more advice on the user forums https://users.rust-lang.org/, where people are likely with more experience with this specific network issue. |
I use git all the time, and the above request also works. I posted the same question in the rust forums, and can't get an answer. |
Oh. Now I see your error. It seems not directly related to git. Could you try and see what |
It's clearly not downloading.. sometimes the curl command doesn't even return any error, but nothing else happens |
Absolutely nothing happening now. |
My fault. We need |
sorry, rarely use curl
|
I'm going to close, as I think this is a duplicate of #8688 and #7104. Windows, unlike all other platforms, defaults to checking for TLS revocation certificates. We have considered disabling that on Windows, but have not followed through. This might also be resolved if crates.io leaves Heroku and switches to a service that supports OCSP stapling. |
I still can't download any crates... |
Problem
Hi, I'm new to Rust and would like to start learning it. Problem is that I have to turn off my windows firewall completely to install packages. I also allowed cargo.exe to pass trough, yet the rule doesn't seem to apply.
How do you set your firewall rules for Rust correctly?
I'm allowing it inbound, as well as outbound.
npm, git and other package managers work.
update: tried to edit the cargo conf with use github cli true... now it just hangs in updating. and then throws:
Here are some Proxifier Logs when Windows Firewall is disabled:
Now why is cargo using svchost.exe to connect? And how would I create a firewall rule for it's use with cargo?
These are the Logs when Windows Firewall is Enabled and cargo fails:
Steps
cargo install tokio
Possible Solution(s)
turn off ssl revoke check
set github fetch with cli
Version
Notes
curl
after that I tried:
Still cargo won't install anything.
The config file won't work.
Last state of my config.toml file:
I'm really curious about whats causing this. Nobody knows?
The text was updated successfully, but these errors were encountered: