-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-networkingArea: networking issues, curl, etc.Area: networking issues, curl, etc.C-bugCategory: bugCategory: bugS-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.
Description
Problem
Cargo download dependency failed
This issue I filed on rust forum before, But I didn't get enough useful information.
Edited by a maintainer
The error may look like:
% cargo t -v
**error****:** failed to download from `https://crates.io/api/v1/crates/zstd-sys/2.0.7+zstd.1.5.4/download`
Caused by:
[2] Failed initialization ([CONN-1-0] send: no filter connected)
This is due to a bug in some bad versions of libcurl, whose HTTP/2 multiplexing is not compatible with http proxy settings. The affected versions are:
- 7.87.0
- 7.88.0
- 7.88.1
If you're on macOS and your system libcurl is included, we suggest
- either using Rust version
1.71
,beta-2023-06-09
,nightly-2023-06-11
or newer - or disabling
http.multiplexing
manually in.cargo/config.toml
orCARGO_HTTP_MULTIPLEXING=false
.
Metadata
Metadata
Assignees
Labels
A-networkingArea: networking issues, curl, etc.Area: networking issues, curl, etc.C-bugCategory: bugCategory: bugS-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.