shadowsocks/go-shadowsocks2

Can't run in client mode: tcp.go:67: failed to get target address: SOCKS error: 8

dimzon opened this issue · 3 comments

Describe the bug
Doesn't work in client mode.

To Reproduce

  1. open console 1 and run in server mode: c:\app\shadowsocks2-win64.exe -s ss://AEAD_CHACHA20_POLY1305:pass@:465 -udp
  2. open console 2 and run in client mode: c:\app\shadowsocks2-win64.exe -c ss://AEAD_CHACHA20_POLY1305:pass@127.0.0.1:465 -socks :10802 -verbose -u
  3. set proxy to socks5 port 10802 and try to navigate to google.com
  4. see tcp.go:67: failed to get target address: SOCKS error: 8 in console 2
  5. browser can't navigate
  6. other ss-clients works fine with server running as on 1st step

Expected behavior
must work

Desktop (please complete the following information):

  • OS: Windos 7 64bit

@dimzon I have the same problem as you
I am faced with the same problem with you, i debug and find the it can't resolve the data recived from socket in right way . because it reuse the buf array , i think the client code might never be tested in mac windows and linux 。