-
Notifications
You must be signed in to change notification settings - Fork 106
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
tunneling socket could not be established #39
Comments
i have the same problem |
any luck in solving this issue? |
Solved error but here is one note for Ubuntu users. This will only work in the current terminal. if you run following command and then use it other terminals then it won't work. This works for me so i'vent search for global access. Steps:
After running these commands you will see this kind of output
If you see this then you're good to go. |
Got the same thing but with slightly different IP:
Recording this here for Google since I didn't find anything at first. I think where this comes from is that, as @jamesmoriarty pointed out, it expects a protocol, and hence |
Good it worked for me! |
@chenqping Would you mind elaborating a bit? I'm having this issue with trying to use fiddler and tunnel but I'm not sure if I understand what you mean |
Include the protocol ( |
I'm still getting httpsAgent: tunnel.httpsOverHttp({
host: "http://127.0.0.1",
port: 8888,
}),
proxy: false, |
Remove the port and make it part of the host: `http://127.0.0.1:8888`
[Sent from my mobile - please excuse typos]
…________________________________
From: noah <notifications@github.com>
Sent: Sunday, January 3, 2021 22:08
To: request/tunnel-agent
Cc: David Trapp; Comment
Subject: Re: [request/tunnel-agent] tunneling socket could not be established (#39)
I'm still getting Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80 when using
httpsAgent: tunnel.httpsOverHttp({
host: "http://127.0.0.1",
port: 8888,
}),
proxy: false,
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Bless you, kind sir |
It seems that the problem still exists when the protocol of the proxy address is |
Just recording this for any lost souls.
The following might work for something like
curl
but doesn't forrequest
/tunnel-agent
:You need to add the protocol:
So in summary:
http_proxy=<host>:<port>
would becomehttp_proxy=<protocol>://<host>:<port>
The text was updated successfully, but these errors were encountered: