dispatch-proxy icon indicating copy to clipboard operation
dispatch-proxy copied to clipboard

Error: connect EHOSTUNREACH

Open anjerodesu opened this issue 10 years ago • 2 comments

[email protected]
0.1.2
Yosemite

I'm getting a lot of

error [] clientRequest
      Error: connect EHOSTUNREACH

while using dispatch as an http proxy. I mostly encounter them with YouTube and StackOverflow. YouTube has an exception though, the site load when you access a video page directly.

The command I run:

dispatch start --http  0.0.0.0@8 0.0.0.0@2 -p 1025

Is it safe to assume that the port have something to do with the error?

anjerodesu avatar Nov 04 '14 08:11 anjerodesu

The port most likely has nothing to do with the error.

I take it 0.0.0.0 is a placeholder address, not the address you really are using? Otherwise, I encourage you to read the OS X tutorial.

EHOSTUNREACH errors can happen when one of your internet connections isn't functioning properly. Have you tried using dispatch separately on each of the connections you are using? Have you tried using it as a SOCKS proxy?

alexkirsz avatar Nov 04 '14 09:11 alexkirsz

Yes, it is a placeholder. I thought using 0.0.0.0 is a dead giveaway.

I think I now know the problem, when I am using my VPN the problem occurs.

anjerodesu avatar Nov 05 '14 03:11 anjerodesu