-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Cargo can't install crates with spurious network error (on Windows) #3750
Comments
Hm interesting! Do you know if there's anything "special" about the network setup on your system? Something like a custom CA, a custom "company firewall", or something like that? It looks like this is an HTTP request somewhere inside libgit2 failing, but we may just not be passing through enough configuration to get it to pass. |
The network admin went outdoor service for a while, so I will update more elaborate network setups after he is available. (It's 11am here btw :) )
|
Ah ok, I suspect that this is likely related to the custom company firewall. I presume, though, that other system services work just fine? Are you sure though that a proxy doesn't need to be configured for outside network traffic to work? |
Can you elaborate what other system services do I have to check, @alexcrichton ? |
I'm really just shooting in the dark here, I have no idea what's going on :( |
Turns out: TL; DRStupid Korean antivirus(Ahnlab V3 Internet Security 9.0) matter. How Did I solved(temporarily)
I am still not sure which part did this sh.. stuff prevent from "infection." Going to call service centre. Okay, Is Everything Good Now?
|
Oh wow how odd! Thanks for tracking that down @sikinmettugi :) The |
I'm going to go ahead and close this as resolved. |
same issue here. On windows 10. INstalling rust for the first time.
Rust version is |
TL; DR
cargo install racer
fails with "spurious network error" due to Microsoft Windows HTTP service's internal error.Environment
When Does the Problem Occurs
rustup-init.exe
, andrust-1.15.1-x86_64-pc-windows-{gnu, msvc}.msi
) and try to install crates via cargorustup self uninstall
then install via one of those 3 methods above)Error message
@note: I am using Windows in Korean language, that is the reason the error log has Korean(and could not find the error message localizer/translator site)
@note: The error message is translated as "An internal error occured in Microsoft Windows HTTP service."
More Informations
The text was updated successfully, but these errors were encountered: