Skip to content
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

can't find how to set the proxy #64

Open
erkekin opened this issue Mar 22, 2022 · 3 comments
Open

can't find how to set the proxy #64

erkekin opened this issue Mar 22, 2022 · 3 comments

Comments

@erkekin
Copy link

erkekin commented Mar 22, 2022

$ elan default stable

returns

info: syncing channel updates for 'stable'
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { description: "Failure when receiving data from the peer", code: 56, extra: Some("Received HTTP code 407 from proxy after CONNECT") }', src/elan-utils/src/utils.rs:519:32
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

just like ruby's gem has --http-proxy, elan should have a way to pass the proxy

@newptcai
Copy link

newptcai commented Jul 6, 2023

This would be great. I tried proxychains on elan and it does not work.

@mkckr0
Copy link
Contributor

mkckr0 commented Jul 21, 2023

elan use curl to do downloading, so we can use env variable to set proxies, like this:

$env:ALL_PROXY="socks5h://127.0.0.1:1080"

@AlucardNosferatu
Copy link

elan use curl to do downloading, so we can use env variable to set proxies, like this:

$env:ALL_PROXY="socks5h://127.0.0.1:1080"

valid solution, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants