killercup / killercup/cargo-edit
Work around registry git-fetch errors
- Dominant language
- Rust
- Stars
- 3.5k
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
Hi there, I am trying to use cargo edit behind a corporate proxy, but got such error:
```
Updating 'https://github.com/rust-lang/crates.io-index' index
Command failed due to unhandled error: SSL error: syscall failure: Bad file descriptor; class=Os (2); code=Certificate (-17)
```
I have already set my git to ignore ssl checking with `http.sslverify=false`. And in cargo as well with:
```
[http]
check-revoke = false
```
But it seems these settings are not picked up by cargo edit. Is that true? How can I configure cargo edit to ignore the ssl cert checking too? Thank you!
Contributor guide
Research direction
Reproduce the cargo edit registry fetch behind a corporate proxy using the reported git and Cargo settings, then trace how cargo-edit invokes the registry fetch. Determine whether those settings are ignored and document or implement the supported configuration; done means the SSL error has a clear, verified workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, rust
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100