shadowsocksrr/shadowsocksr

报错error: unpack requires a string argument of length 8

becausemadoka opened this issue · 4 comments

使用auth_chain_f出现报错,D和E中都没问题,F无法使用,服务器系统Debian7_X64详细日志如下

self._protocol.set_server_info(server_info)

File "/usr/local/shadowsocksr/shadowsocks/obfs.py", line 58, in set_server_info
return self.obfs.set_server_info(server_info)
File "/usr/local/shadowsocksr/shadowsocks/obfsplugin/auth_chain.py", line 891, in set_server_info
self.init_data_size(self.server_info.key)
File "/usr/local/shadowsocksr/shadowsocks/obfsplugin/auth_chain.py", line 901, in init_data_size
random.init_from_bin(new_key)
File "/usr/local/shadowsocksr/shadowsocks/obfsplugin/auth_chain.py", line 96, in init_from_bin
self.v0 = struct.unpack('<Q', bin[:8])[0]
error: unpack requires a string argument of length 8
2017-12-11 19:39:50 INFO server_pool.py:184 stopped server at 0.0.0.0:443 already stop
2017-12-11 19:39:50 INFO server_pool.py:202 stopped server at [::]:443
2017-12-11 19:39:50 WARNING server_pool.py:212 443
IPv6 support

试试切到akkariiin/dev分支看看还会不会出现这个问题?

这个问题是没有了,换成了dev分支之后,似乎出了新的问题:=^=
2017-12-16 13:09:14 INFO server_pool.py:127 starting server at [::]:443
2017-12-16 13:09:14 WARNING server_pool.py:140 IPV6 obfs plugin [auth_chain_f] not supported
2017-12-16 13:09:14 INFO server_pool.py:153 starting server at 0.0.0.0:443
2017-12-16 13:09:14 WARNING server_pool.py:165 IPV4 obfs plugin [auth_chain_f] not supported

dev分支的似乎没有C之后的支持?!B可以用;C不支持;D不支持;F不支持

个人问题,使用第三方配置正常,我去面壁了0.0