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 763 forks source link

python/systemd启动问题 #97

Closed miffyrcee closed 4 years ago

miffyrcee commented 4 years ago

v0.7,linux fedora31,我将其当作了一个客户端。 使用python的subprocess.call('/usr/local/bin/ssr-client -c /etc/ssr-nativate/config.json'.split(' ')) 或者使用subprocess.call('systemctl restart ssr-client.service'.split(' ')) 都会莫名奇妙出现 Screenshot from 2019-12-03 21-20-48 配置无问题,手动systemctl restart正常 但是在使用过程中,网站显示该网页已经移动到别的位置,日志显示 Screenshot from 2019-12-03 21-15-08 请问该如何解决啊?😢 每一次出现该问题都会在/var/lib/systemd/coredump/里有如下记录😢 Screenshot from 2019-12-03 21-33-47

ssrlive commented 4 years ago

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

miffyrcee commented 4 years ago

Screenshot from 2019-12-03 21-55-30 普通鸡厂配置,做个客户端用😭

miffyrcee commented 4 years ago

不好意思哈,那个python没写好,把启动写在with里面了。可是那个core dump依旧存在,而且在快速配置变更重启ssr-client时容易出现。打开该网址也容易出现该问题,不过protocol_param里同样有冒号

https://www.youtube.com/watch?v=fjrMkTREYlY&list=PL-HX3y3Jh1R8Qvj8icaUMlPyYDAgZ5PFl&index=89
ssrlive commented 4 years ago

把ip和端口拿掉,复制粘贴配置过来。

miffyrcee commented 4 years ago
{
    "password": "*********",
    "udp": "true",
    "timeout": 300,
    "client_settings": {
        "server": "*******.cc",
        "server_port": ***1,
        "listen_address": "127.0.0.1",
        "listen_port": 8089
    },
    "method": "rc4-md5",
    "obfs": "http_simple",
    "obfs_param": "*********.in",
    "protocol": "auth_aes128_md5",
    "protocol_param": ""
}

大佬,貌似当我去掉那些server_settings,tls之类的就没怎么发生这个情况了。

ssrlive commented 4 years ago

不可能,客户端根本没通过那些参数。

miffyrcee commented 4 years ago

额,大佬,我改回去又试了下,发现确实还是没发生这个问题了,😫,谢谢大佬,我还是继续用着试试吧。