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

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

Closed
becausemadoka opened this issue Dec 11, 2017 · 4 comments
Closed

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

becausemadoka opened this issue Dec 11, 2017 · 4 comments

Comments

@becausemadoka
Copy link

becausemadoka commented Dec 11, 2017

使用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
Copy link
Member

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

@becausemadoka
Copy link
Author

这个问题是没有了,换成了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

@becausemadoka
Copy link
Author

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

@becausemadoka
Copy link
Author

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

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

No branches or pull requests

3 participants