ShadowsocksR-Live / shadowsocksr-native

翻墙 从容穿越党国敏感日 ShadowsocksR (SSRoT) native implementation for all platforms, GFW terminator
https://github.com/ShadowsocksR-Live/shadowsocksr-native/wiki
GNU General Public License v3.0
2.74k stars 762 forks source link

handshake error: Bad protocol version. #245

Open bbx429 opened 1 year ago

bbx429 commented 1 year ago

Please answer these questions before submitting your issue. Thanks!

What version of shadowsocks-native are you using?

shadowsocks-native 0.9.3

What operating system are you using?

CentOS Linux release 7.9.2009 (Core) Linux version 3.10.0-1160.88.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) )

What did you do?

ssr-client -c /ssr-n/config.json

What did you expect to see?

What did you see instead?

ssr-client 2023/03/26 10:55 info ==== tunnel created count 1 ==== ssr-client 2023/03/26 10:55 info tunnel_stage_handshake -- Client App S5 handshake coming. ssr-client 2023/03/26 10:55 error handshake error: Bad protocol version. ssr-client 2023/03/26 10:55 error unexpect tunnel terminated. about client "(null)": Unknown system error 92 - tunnel_stage_handshake -- Client App S5 handshake coming. ssr-client 2023/03/26 10:55 info ==== tunnel destroyed count 0 ====

What is your config in detail (with all sensitive info masked)?

{
    "password": "Ci***************",
    "method": "chacha20",
    "protocol": "auth_aes128_md5", // "origin", //
    "protocol_param": "30940:1x4pMQ8ze2",
    "obfs": "tls1.2_ticket_auth", // "plain", //
    "obfs_param": "",

    "udp": false,
    "idle_timeout": 300,
    "connect_timeout": 6,
    "udp_timeout": 6,

    "server_settings": {
        "listen_address": "0.0.0.0",
        "listen_port": 12475
    },

    "client_settings": {
        "server": "vip.**************",
        "server_port": 918,
        "listen_address": "0.0.0.0",
        "listen_port": 1081
    },

    "over_tls_settings": {
        "enable": false,
        "server_domain": "goodsitesample.com",
        "path": "/udg151df/",
        "root_cert_file": ""
    }
}