shadowsocks-android icon indicating copy to clipboard operation
shadowsocks-android copied to clipboard

4.0.2版本互相通过二维码分享服务器配置失败

Open EtagBot opened this issue 9 years ago • 3 comments

Please read FAQ then answer these questions before submitting your issue. Thanks!

Environment

  • Android version: "7.0.1" *
  • Device: 淘宝货
  • Shadowsocks version: 4.0.2

Configuration

Put an x inside the [ ] that applies.

  • [x ] IPv4 server address
  • [ ] IPv6 server address
  • [x] Client IPv4 availability
  • [ ] Client IPv6 availability
  • Local port: 1080
  • Encrypt method:aes-256-cbc
  • [ ] One-time authentication
  • Route
    • [ ] All
    • [ ] Bypass LAN
    • [ ] Bypass China
    • [ x] Bypass LAN & China
    • [ ] GFW List
    • [ ] China List
    • [ ] Custom rules
  • [ ] IPv6 route
  • [x ] Per-App Proxy
    • [ ] Bypass mode
  • [ ] UDP Forwarding
  • Plugin configuration (if applicable):
  • [ x] Auto Connect
  • [ ] TCP Fast Open
  • [ ] NAT mode

What did you do?

1、这两个手机中任何一个生成二维码 2、使用另外一个手机扫描并导入

What did you expect to see?

导入成功

What did you see instead?

导入失败

简单排查

经排查,发现是二维码生成规则出现问题 预期是 method:password@hostname:port 全部进行base64编码 实质上 只有method:password进行了base64,但@hostname:port没有进行编码,并最终导致失败

EtagBot avatar Feb 11 '17 10:02 EtagBot

It's expected. The new URL schema is defined here: https://github.com/shadowsocks/shadowsocks-org/issues/27

madeye avatar Feb 13 '17 02:02 madeye

就是说未来andorid 7的机器之间不能通过二维码分项配置选项了是吗

EtagBot avatar Feb 13 '17 14:02 EtagBot

New QR code can't be scanned with old versions.

Mygod avatar Feb 15 '17 00:02 Mygod