-
-
Notifications
You must be signed in to change notification settings - Fork 42
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 config http.proxy caused the error:malformed URL '127.0.0.1:1080' #144
Comments
Hm, this is correct: "127.0.0.1:1080" is not a valid URL and libgit2 is right to reject it here. A better question is how Cargo mangles the values. As a test, does it work if you set it to |
[http]
proxy = "http://127.0.0.1:1080"
[https]
proxy = "https://127.0.0.1:1080" I change the config file to this,it work well. The doc of this is: doc I didn't notice this detail before, The complete http proxy configuration should be "[protocol://]host[:port]" Thanks for helping |
Can you install from |
I clone this git and buid the last version,change to original config.run commod "./cargo-install-update install-update -a" $ ./cargo-install-update install-update -a
Updating registry 'https://github.com/rust-lang/crates.io-index'
Failed to update index repository: SSL error: syscall failure: .
|
Possibly related to #142? Dunno. It looks like someone really broke libssl (it might or might not be prudent to report this to your distributor) -- thanks for trying, anyway. |
Released in v4.2.0 |
Thank you, I'll try the new version as soon as possible |
Bump |
three-year bump |
my cargo .cargo/config:
I use "cargo update" and "cargo install" to pass the proxy normally.No problem with proxy service.
But when using "cargo install-update -a" an error occurs directly, the error content is
rust version is:
cargo version is:cargo 1.48.0-nightly (8777a6b1e 2020-09-15)
The text was updated successfully, but these errors were encountered: