go-shadowsocks2 icon indicating copy to clipboard operation
go-shadowsocks2 copied to clipboard

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

Open dimzon opened this issue 2 years ago • 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:[email protected]: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 avatar Jul 02 '22 08:07 dimzon

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

donghaoahahahah avatar Jul 02 '22 08:07 donghaoahahahah

@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 。

ColaMachine avatar Aug 15 '22 09:08 ColaMachine

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

donghaoahahahah avatar Aug 15 '22 09:08 donghaoahahahah