Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tls_auth wrong sessionid_len错误,ssr无法使用但是ss正常 #66

Open
SpeedMe opened this issue Jul 1, 2018 · 3 comments
Open

Comments

@SpeedMe
Copy link

SpeedMe commented Jul 1, 2018

单端口多用户模式
ssr配置如下:
"port": "443",
"method": "none",
"protocol": "auth_chain_a",
"obfs": "tls1.2_ticket_auth",
"obfs_param": "www.bing.com"

确保ssr配置无误,ss则能正常使用。
查过好像说这个错误是扫描端口什么的错误,不用管,但是我自己用的时候服务器一直刷这个错误,想知道是什么原因。
服务器错误日志:
2018-07-01 13:27:02 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30621
2018-07-01 13:27:02 INFO obfs_tls.py:275 tls_auth wrong sessionid_len
2018-07-01 13:27:02 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:02 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 160301011d0100011903032b6084bc4cd966bead9d6d078597c4cebc72c6b7ed42b48061fdc54a999bfde5000086c02bc02fc00ac014c009c013009c0035002f000ac030c02cc028c02400a500a300a1009f006b006a006900680039003800370036c032c02ec02ac026c00fc005009d003dc027c02300a400a200a0009e00670040003f003e0033003200310030c031c02dc029c025c00ec004003cc011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30622 via port 443 by UID 443
2018-07-01 13:27:02 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30622
2018-07-01 13:27:02 INFO obfs_tls.py:275 tls_auth wrong sessionid_len
2018-07-01 13:27:02 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:02 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 160301011d01000119030386f5b0d7e9ec2f19a82c6701c1ce8774b74ef305c27267d5e6181d9bdba3a3dd000086c02bc02fc00ac014c009c013009c0035002f000ac030c02cc028c02400a500a300a1009f006b006a006900680039003800370036c032c02ec02ac026c00fc005009d003dc027c02300a400a200a0009e00670040003f003e0033003200310030c031c02dc029c025c00ec004003cc011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30623 via port 443 by UID 443
2018-07-01 13:27:02 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30623
2018-07-01 13:27:02 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:02 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:02 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d103015e4bd72e44c6f4ab56c66377906866b8c296bdad5daee0d9898827370e097dc900003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30624 via port 443 by UID 443
2018-07-01 13:27:02 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30624
2018-07-01 13:27:02 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:02 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:02 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d10301d0168fe786b546bf06bcd428c1f8afdde3c6eb7c93dbfece3c292a9a49b2b30500003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30625 via port 443 by UID 443
2018-07-01 13:27:02 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30625
2018-07-01 13:27:02 INFO obfs_tls.py:275 tls_auth wrong sessionid_len
2018-07-01 13:27:02 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:02 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 160301011d010001190303c32f52bd7dedb938a3942940d3ad4201080e8c2c8ced26f242c075c277ff91e5000086c02bc02fc00ac014c009c013009c0035002f000ac030c02cc028c02400a500a300a1009f006b006a006900680039003800370036c032c02ec02ac026c00fc005009d003dc027c02300a400a200a0009e00670040003f003e0033003200310030c031c02dc029c025c00ec004003cc011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30626 via port 443 by UID 443
2018-07-01 13:27:02 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30626
2018-07-01 13:27:03 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:03 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:03 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d10301a45a48d1a891c5ef66e4939878d66891521b24d8c8d06834d201637504f1718400003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30627 via port 443 by UID 443
2018-07-01 13:27:03 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30627
2018-07-01 13:27:03 INFO tcprelay.py:794 TCP connecting r1---sn-3pm7dn7d.googlevideo.com(173.194.22.6):443 from 45.124.136.135:50622 by user 46136
2018-07-01 13:27:03 INFO obfs_tls.py:275 tls_auth wrong sessionid_len
2018-07-01 13:27:03 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:03 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 160301011d0100011903030e7a0d4bf0990ab6f97fd4346345b1b078902ea204c87599a6dd809286b6133e000086c02bc02fc00ac014c009c013009c0035002f000ac030c02cc028c02400a500a300a1009f006b006a006900680039003800370036c032c02ec02ac026c00fc005009d003dc027c02300a400a200a0009e00670040003f003e0033003200310030c031c02dc029c025c00ec004003cc011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30629 via port 443 by UID 443
2018-07-01 13:27:03 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30629
2018-07-01 13:27:04 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:04 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:04 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d103013deb51ecbe1ff4dfef7640649a67f15cb4c528a79da6d2e34da8ec353f6ee5e200003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30634 via port 443 by UID 443
2018-07-01 13:27:04 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30634
2018-07-01 13:27:04 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:04 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:04 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d10301a3bd3cf7f1e35e98296571b830aefb911508b7f89f6fe225464a17b77f9cbcc900003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30635 via port 443 by UID 443
2018-07-01 13:27:04 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30635
2018-07-01 13:27:04 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:04 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:04 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d1030166332048dcd8bd3dc293e235a0e77283974eaf9dc0792298ff4a0a97755cb6e000003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30636 via port 443 by UID 443
2018-07-01 13:27:04 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30636
2018-07-01 13:27:04 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:04 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:04 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d10301cc72d26f00f64eff26b6eb88862d6756f05b6d1dbcecd76cc753d6d2d974a53f00003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30637 via port 443 by UID 443
2018-07-01 13:27:04 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30637
2018-07-01 13:27:04 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:04 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:04 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d103010b7c0dda30b4177ee896fa253398992013a67fba4e895c9cf209304fe344455800003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30638 via port 443 by UID 443
2018-07-01 13:27:04 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30638
2018-07-01 13:27:05 INFO obfs_tls.py:275 tls_auth wrong sessionid_len
2018-07-01 13:27:05 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:05 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 160301011d01000119030304fbd52d5bdc1c735ad0fff14cee7145972b2daa12217439b0893c62d44537fa000086c02bc02fc00ac014c009c013009c0035002f000ac030c02cc028c02400a500a300a1009f006b006a006900680039003800370036c032c02ec02ac026c00fc005009d003dc027c02300a400a200a0009e00670040003f003e0033003200310030c031c02dc029c025c00ec004003cc011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30640 via port 443 by UID 443
2018-07-01 13:27:05 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30640
2018-07-01 13:27:05 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:05 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:05 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d103017c0219fd381bfbee0af5dffa4368f9000ac1ca223a59cdcde653d2686f1b748a00003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30644 via port 443 by UID 443
2018-07-01 13:27:05 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30644
2018-07-01 13:27:06 INFO tcprelay.py:794 TCP connecting r1---sn-3pm7dn7d.googlevideo.com(173.194.22.6):443 from 45.124.136.135:26361 by user 46136
2018-07-01 13:27:06 INFO obfs_tls.py:275 tls_auth wrong sessionid_len
2018-07-01 13:27:06 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:06 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 160301011d0100011903031b67e3003014b7ccf6cf36390cd20c628eb5c44baf6276dfb53248adcb22c5b7000086c02bc02fc00ac014c009c013009c0035002f000ac030c02cc028c02400a500a300a1009f006b006a006900680039003800370036c032c02ec02ac026c00fc005009d003dc027c02300a400a200a0009e00670040003f003e0033003200310030c031c02dc029c025c00ec004003cc011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30645 via port 443 by UID 443
2018-07-01 13:27:06 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30645
2018-07-01 13:27:06 INFO tcprelay.py:794 TCP connecting r3---sn-oguelnl7.googlevideo.com(173.194.49.40):443 from 45.124.136.135:21286 by user 37155
2018-07-01 13:27:06 INFO tcprelay.py:794 TCP connecting www.google.com(216.58.199.228):443 from 45.124.136.135:16925 by user 46075
2018-07-01 13:27:06 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:06 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:06 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d1030124ab38ad6cc21147bbde53c6e396daed8574c78515a4dd92d9d39b8997d98d8800003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30647 via port 443 by UID 443
2018-07-01 13:27:06 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30647
2018-07-01 13:27:06 INFO obfs_tls.py:275 tls_auth wrong sessionid_len
2018-07-01 13:27:06 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:06 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 160301011d0100011903034b0b2317c50372fa9b88b7b438819a6f92ee79f82bd972de1ace8fdf6f1f86aa000086c02bc02fc00ac014c009c013009c0035002f000ac030c02cc028c02400a500a300a1009f006b006a006900680039003800370036c032c02ec02ac026c00fc005009d003dc027c02300a400a200a0009e00670040003f003e0033003200310030c031c02dc029c025c00ec004003cc011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30648 via port 443 by UID 443
2018-07-01 13:27:06 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30648
2018-07-01 13:27:06 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:06 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:06 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d10301b3c2dfa0c9d5f635f8d6b5cc7c26e2d04047df75a368221c56b45e538a2ae25900003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30649 via port 443 by UID 443
2018-07-01 13:27:06 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30649
2018-07-01 13:27:06 INFO obfs_tls.py:275 tls_auth wrong sessionid_len
2018-07-01 13:27:06 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:06 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 160301011d010001190303e54d836676b4a7260943de561ac4febaa239d88f1d27f39c542bb0e5c51d581d000086c02bc02fc00ac014c009c013009c0035002f000ac030c02cc028c02400a500a300a1009f006b006a006900680039003800370036c032c02ec02ac026c00fc005009d003dc027c02300a400a200a0009e00670040003f003e0033003200310030c031c02dc029c025c00ec004003cc011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30650 via port 443 by UID 443
2018-07-01 13:27:06 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30650
2018-07-01 13:27:07 INFO tcprelay.py:794 TCP connecting www.google.co.jp(216.58.199.227):443 from 45.124.136.135:25713 by user 46075
2018-07-01 13:27:07 INFO tcprelay.py:794 TCP connecting id.google.co.jp(216.58.197.131):443 from 45.124.136.135:5201 by user 46075
2018-07-01 13:27:07 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:07 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:07 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d10301798770f00a78f2da860049e44149969feab01c889734d8397a228f7c4e47d26e00003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30651 via port 443 by UID 443
2018-07-01 13:27:07 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30651
2018-07-01 13:27:07 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:07 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:07 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d1030144afd0e8eb77e22e0f8bb48390a4acaca6687ae07a31db6042e63b19580fdb0700003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30652 via port 443 by UID 443
2018-07-01 13:27:07 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30652
2018-07-01 13:27:07 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:07 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:07 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d103015660df57a8729a72b6193693ae5dfa85612d280dbe9ec0c87a0272b00a64fa6000003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30653 via port 443 by UID 443
2018-07-01 13:27:07 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30653
2018-07-01 13:27:08 INFO obfs_tls.py:275 tls_auth wrong sessionid_len
2018-07-01 13:27:08 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:08 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 160301011d01000119030381334d52e86ed9173753b5e86ea2e7fdc990e347431a35156eb5a2f49f7df789000086c02bc02fc00ac014c009c013009c0035002f000ac030c02cc028c02400a500a300a1009f006b006a006900680039003800370036c032c02ec02ac026c00fc005009d003dc027c02300a400a200a0009e00670040003f003e0033003200310030c031c02dc029c025c00ec004003cc011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30659 via port 443 by UID 443
2018-07-01 13:27:08 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30659
2018-07-01 13:27:08 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:08 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:08 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d103019ad396cf656afa16774c7619110139b8fc7f45899a1764c37221f758f10e44e600003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30663 via port 443 by UID 443
2018-07-01 13:27:08 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30663
2018-07-01 13:27:08 INFO tcprelay.py:794 TCP connecting ogs.google.com(216.58.197.206):443 from 45.124.136.135:17602 by user 46075
2018-07-01 13:27:08 INFO obfs_tls.py:275 tls_auth wrong sessionid_len
2018-07-01 13:27:08 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:08 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 160301011d010001190303a6cf0d3b294a6ec550332deb445176e92372a0afca19beb4226d743005dd9f8c000086c02bc02fc00ac014c009c013009c0035002f000ac030c02cc028c02400a500a300a1009f006b006a006900680039003800370036c032c02ec02ac026c00fc005009d003dc027c02300a400a200a0009e00670040003f003e0033003200310030c031c02dc029c025c00ec004003cc011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30665 via port 443 by UID 443
2018-07-01 13:27:08 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30665
2018-07-01 13:27:09 INFO obfs_tls.py:268 tls_auth wrong tls version
2018-07-01 13:27:09 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:09 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 16030100d5010000d10301bd2bc3a02995d321515f13dbc8c08d1a1def7f4ea3cb82a80fc353c1ee61f3b300003ec00ac014c009c0130035002f000a0039003800370036c00fc0050033003200310030c00ec004c011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30669 via port 443 by UID 443
2018-07-01 13:27:09 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30669
2018-07-01 13:27:09 INFO obfs_tls.py:275 tls_auth wrong sessionid_len
2018-07-01 13:27:09 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:09 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 160301011d010001190303983ebf113fa71656260dc833f535b9ca6058e893f8a400629f4b89ace5c46441000086c02bc02fc00ac014c009c013009c0035002f000ac030c02cc028c02400a500a300a1009f006b006a006900680039003800370036c032c02ec02ac026c00fc005009d003dc027c02300a400a200a0009e00670040003f003e0033003200310030c031c02dc029c025c00ec004003cc011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30673 via port 443 by UID 443
2018-07-01 13:27:09 ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:223.72.78.182:30673
2018-07-01 13:27:09 INFO obfs_tls.py:275 tls_auth wrong sessionid_len
2018-07-01 13:27:09 WARNING common.py:239 unsupported addrtype 69, maybe wrong password or encryption method
2018-07-01 13:27:09 WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 160301011d010001190303fad9381e70388ccc947d36e98c4ff71300376fd80067abae9c8661939349410c000086c02bc02fc00ac014c009c013009c0035002f000ac030c02cc028c02400a500a300a1009f006b006a006900680039003800370036c032c02ec02ac026c00fc005009d003dc027c02300a400a200a0009e00670040003f003e0033003200310030c031c02dc029c025c00ec004003cc011c007c00cc00200050004009a009900980097009600ff0100006a00000011000f00000c7777772e62696e672e636f6d000b000403000102000a001c001a00170019001c001b0018001a0016000e000d000b000c0009000a00230000000d0020001e060106020603050105020503040104020403030103020303020102020203000f000101 from ::ffff:223.72.78.182:30674 via port 443 by UID 443

@Akkariiin
Copy link
Member

看起来是客户端和服务器配置不一致导致的
请检查protocol param项的配置

@tzz1996
Copy link

tzz1996 commented Jul 21, 2024

我是在win环境下跑的local.py,也是报类似的错,但是我用那个csharp版的ssr客户端跑同样参数配置就可以连上

ERROR tcprelay.py:1097 can not parse header when handling connection from ::ffff:127.0.0.1:43850
WARNING tcprelay.py:521 Protocol ERROR, TCP ogn data 64000000794300001a0000006500100000003530374239443032314232375541485100000000 from ::ffff:127.0.0.1:43902 via port 8388 by UID 8388
WARNING common.py:238 unsupported addrtype 69, maybe wrong password or encryption method

@tzz1996
Copy link

tzz1996 commented Jul 21, 2024

看起来是客户端和服务器配置不一致导致的 请检查protocol param项的配置

服务端和客户端的配置都是这个:
"server": "108.61.195.16",
"server_ipv6": "::",
"server_port": 8388,
"local_address": "127.0.0.1",
"local_port": 1090,

"password": "123456",
"method": "aes-128-ctr",
"protocol": "auth_sha1_v4",
"protocol_param": "68228776",
"obfs": "random_head",

用csharp那个倒是不影响,最近在看这个python版本的代码,想知道可能是啥原因

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants