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

Error: tunneling socket could not be established, cause=socket hang up : undefined #40

Closed
yejijie opened this issue Feb 24, 2016 · 3 comments

Comments

@yejijie
Copy link

yejijie commented Feb 24, 2016

I have to use a http proxy to connect to Google.
I get an error:

Cannot connect to Google.
Error: Error on response:Error: tunneling socket could not be established, cause=socket hang up : undefined

Any idea please?

@danyshaanan
Copy link
Contributor

Does this happen with the line mentioned in the readme?

alias how2="HTTPS_PROXY='your_proxy:8888' how2"

(https://github.com/santinic/how2#can-i-use-it-behind-proxy-)

@yejijie
Copy link
Author

yejijie commented Feb 25, 2016

@danyshaanan Yes, but I use socks5 proxy. Maybe this is the problem. Thanks for your advice.

@sisrfeng
Copy link

socks5 proxy

+1

My setting in zshrc

WF_ip='219.222.11.11:4080'
alias export_all_proxy="export ALL_PROXY=socks5://${WF_ip} ; export HTTPS_PROXY=https://${WF_ip} ; export HTTP_PROXY=http://${WF_ip} "

export_all_proxy

How to modify the zshrc to enable how2 ?
@yejijie

Thx

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