We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have to use a SOCKS proxy (the kind created by ssh -D). The documentation doesn't say whether/how SOCKS is supported:
ssh -D
proxy = "..." # HTTP proxy to use for HTTP requests (defaults to none)
I've tried changing config, as mentioned in #636, but Cargo seems to assume the proxy is a HTTP proxy. I've tried:
[http] proxy = "socks://localhost:9050" [https] proxy = "socks://localhost:9050"
but that's not enough:
cargo run Updating registry https://github.com/rust-lang/crates.io-index warning: spurious network error (2 tries remaining): [12/-2] [6] Couldn't resolve host name (Could not resolve host: github.com) warning: spurious network error (1 tries remaining): [12/-2] [6] Couldn't resolve host name (Could not resolve host: github.com) error: failed to load source for a dependency on vpsearch
https://github.com/rust-lang/crates.io-index
vpsearch
Caused by: Unable to update registry https://github.com/rust-lang/crates.io-index
Caused by: failed to fetch https://github.com/rust-lang/crates.io-index
Are SOCKS proxies supported?
The text was updated successfully, but these errors were encountered:
I believe the syntax for libcurl is the socks5 or socks5h protocol (e.g. socks5://localhost:9050). Does that work?
socks5
socks5h
socks5://localhost:9050
Sorry, something went wrong.
socks5h worked, thank you!
Example proxy config
1760e2e
rust-lang#3596
Auto merge of #3598 - pornel:proxyconf, r=alexcrichton
19dc757
Example proxy config #3596
No branches or pull requests
I have to use a SOCKS proxy (the kind created by
ssh -D
). The documentation doesn't say whether/how SOCKS is supported:I've tried changing config, as mentioned in #636, but Cargo seems to assume the proxy is a HTTP proxy. I've tried:
but that's not enough:
Are SOCKS proxies supported?
The text was updated successfully, but these errors were encountered: