-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Cargo failed to download crates with https_proxy #11746
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
If set Until there are less than 100 undownloaded crates, try Ctrl+C to stop it. Then set |
Can you provide the following information?
|
v2ray http inbound
From Arch Linux official repository extra/rust
It works fine. So is this an issue of distribution packaging? or libcurl 7.88.1 with openssl 3.0? Thanks. |
I can't really guess what exactly it could be, but it does sound like this is an issue for Arch. |
I try to downgrade curl to 7.87, and it works fine, But when I upgrade curl to 7.88, the problem is reproduced. Maybe I should open an issue for curl. Thanks for your reminder. |
@akiirui I've been able to reproduce this with the latest curl. I'll try doing some more digging. |
curl/curl@821f6e2 This commit fixes this issue. |
Oh, thanks for the investigation! And glad to see it is potentially resolved. I went ahead and opened a revert in #11755. We can try to pick it up in the next update. |
Problem
Cargo failed to download crates when I set
https_proxy=http://127.0.0.1:1081/
:Steps
https_proxy
environment varablegit clone https://github.com/Morganamilo/paru.git
cd paru
cargo build
Possible Solution(s)
No response
Notes
Logs with
CARGO_HTTP_DEBUG=true
andCARGO_LOG=cargo::ops::registry=trace
Version
The text was updated successfully, but these errors were encountered: