alexkirsz / dispatch

Combine internet connections, increase your download speed
Apache License 2.0
353 stars 28 forks source link

<autogenerated-issue> #31

Closed gabrielmaster123 closed 2 months ago

gabrielmaster123 commented 9 months ago

Error

Error: 
   0: An error occurred during the proxy handshake procedure
   1: The proxy received `CONNECT af.opera.com:443 HTTP/1.1` (197 additional bytes not shown), which looks like an HTTP request. Please ensure that you have properly configured the proxy as a SOCKS proxy and not an HTTP proxy.

Metadata

key value
Version 0.1.3
OS Windows 10 Home
Command dispatch --debug start 192.168.178.177

SpanTrace

``` SpanTrace: 0: dispatch::socks::handle_version_error with self=SocksHandshake { reader: ReadHalf(PollEvented { io: Some(TcpStream { addr: 127.0.0.1:1080, peer: 127.0.0.1:62375, socket: 1056 }) }), writer: WriteHalf(PollEvented { io: Some(TcpStream { addr: 127.0.0.1:1080, peer: 127.0.0.1:62375, socket: 1056 }) }), dispatcher: WeightedRoundRobinDispatcher(Mutex { data: WeightedRoundRobinDispatcherInner { ipv4: State { addresses: [WeightedAddress { ip: 192.168.178.177, weight: 1 }], address_idx: 0, count: 0 }, ipv6: State { addresses: [], address_idx: 0, count: 0 } } }) } err=InvalidVersion(67) at C:\Users\gabri\.cargo\registry\src\index.crates.io-6f17d22bba15001f\dispatch-proxy-0.1.3\src\socks.rs:93 1: dispatch::server::handle_socket with socket=PollEvented { io: Some(TcpStream { addr: 127.0.0.1:1080, peer: 127.0.0.1:62375, socket: 1056 }) } dispatcher=WeightedRoundRobinDispatcher(Mutex { data: WeightedRoundRobinDispatcherInner { ipv4: State { addresses: [WeightedAddress { ip: 192.168.178.177, weight: 1 }], address_idx: 0, count: 0 }, ipv6: State { addresses: [], address_idx: 0, count: 0 } } }) at C:\Users\gabri\.cargo\registry\src\index.crates.io-6f17d22bba15001f\dispatch-proxy-0.1.3\src\server.rs:19 ```

Backtrace

``` Backtrace: 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: BaseThreadInitThunk 22: RtlUserThreadStart ```
gabrielmaster123 commented 9 months ago

image

gabrielmaster123 commented 9 months ago

P.S.: I want to combine my ethernet and wifi connections as both adapters are pretty slow

alexkirsz commented 2 months ago

You should only configure the proxy as a Socks proxy, not as Secure (HTTPS) or FTP. So only the last line (Socks) should be filled. Leave the others empty.