-
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
Unable to fetch dependencies with stable-x86_64-pc-windows-gnu #9913
Comments
Thanks for the report! I have transferred this to the cargo repository since it is almost certainly an issue with libgit2 in cargo. Can you provide a little more information, such as the exact version of Windows you are using? Do you have a proxy configured? Is there anything else possibly unusual about your setup? Which shell are you using? (Does this happen under cmd or Powershell?) |
OSEdition: Windows 10 Enterprise ShellI've tried cmd, PowerShell and Nu Shell. All behave indentical. Possible unusual configurationsMost settings are managed by my company and it's likely that they use rather strict network configurations. Yet I don't have a problem with fetching https://github.com/rust-lang/crates.io-index using curl. Even |
Hm, yea, this is likely some strange interaction of the gnu build and your system. I'm at a loss on how that could happen, though, since this is C code, and looks pretty straightforward. One thing I forgot to ask, can you also try with the latest nightly release? As a workaround, you can try the |
Nightly didn't help, but with
|
It works now for some reason. Basically, I've just rebooted my PC. I don't know what's the difference though as I rebooted several times before without a solving the issue. The only difference I can think was that I installed wget and a certificate from Zscaler to fix an issue with MSYS2. That together with |
Update: It's broken again. Again, there's nothing notable I did change on my system. I think it could be connected to another issue with curl 7.79.0 (which is the version I have installed with MSYS2): curl/curl#7730 (comment) At least I hope the new curl version fixes this issue as well... |
The issue seems to be fixed for some reason. I think part of the problem was a ZScaler proxy in the network of my company as other package managers such as pip and npm had problems as well. |
@AaronErhardt Hey, Im facing the same issue now, can u help me to fix this issue? Im struggling from 2 days like a hell.! |
cargo update
and everything else works fine if I'm using thestable-x86_64-pc-windows-msvc
toolchain. However, if I'm usingstable-x86_64-pc-windows-gnu
, Rust suddenly can't fetch dependencies. (Because this issue depends on the toolchain, I assume it's not a problem with cargo).Output of cargo update
Meta
rustc --version --verbose
:and
Shell log
The text was updated successfully, but these errors were encountered: