shadowsocks / shadowsocks-libev

Bug-fix-only libev port of shadowsocks. Future development moved to shadowsocks-rust
https://github.com/shadowsocks/shadowsocks-rust
GNU General Public License v3.0
15.84k stars 5.7k forks source link

报错后网络中断,无法访问外网 #2829

Open gitcoinkuang opened 3 years ago

gitcoinkuang commented 3 years ago

Please answer these questions before submitting your issue. Thanks!

(Please mention that if the issue you filed is solved, you may wish to close it by yourself. Thanks again.)

(PS, you can remove 3 lines above, including this one, before post your issue.)

What version of shadowsocks-libev are you using?

最新版本3.3.5

What operating system are you using?

debian10

What did you do?

手机使用小火箭,访问youtube

What did you expect to see?

想知道这是什么错误,每次出现就断网了(就是链接不上外网了)

What did you see instead?

错误信息 Jul 05 16:40:44 VM-4-15-debian shadowsocks-libev.ss-server-daemon[15106]: 2021-07-05 16:40:44 ERROR: server recv: Connection reset by peer Jul 05 16:41:12 VM-4-15-debian shadowsocks-libev.ss-server-daemon[15106]: 2021-07-05 16:41:12 ERROR: server recv: Connection reset by peer Jul 05 16:58:41 VM-4-15-debian shadowsocks-libev.ss-server-daemon[15106]: 2021-07-05 16:58:41 ERROR: remote recv: Connection reset by peer Jul 05 17:17:36 VM-4-15-debian shadowsocks-libev.ss-server-daemon[15106]: 2021-07-05 17:17:36 ERROR: server recv: Connection reset by peer Jul 05 17:20:32 VM-4-15-debian shadowsocks-libev.ss-server-daemon[15106]: 2021-07-05 17:20:32 ERROR: failed to handshake with 45.76.144.219: authentication error Jul 05 17:20:52 VM-4-15-debian shadowsocks-libev.ss-server-daemon[15106]: 2021-07-05 17:20:52 ERROR: remote recv: Connection reset by peer Jul 05 17:30:40 VM-4-15-debian shadowsocks-libev.ss-server-daemon[15106]: 2021-07-05 17:30:40 ERROR: server recv: Connection reset by peer Jul 05 17:33:39 VM-4-15-debian shadowsocks-libev.ss-server-daemon[15106]: 2021-07-05 17:33:39 ERROR: server recv: Connection reset by peer Jul 05 17:36:17 VM-4-15-debian shadowsocks-libev.ss-server-daemon[15106]: 2021-07-05 17:36:17 ERROR: server recv: Connection reset by peer Jul 05 17:50:50 VM-4-15-debian shadowsocks-libev.ss-server-daemon[15106]: 2021-07-05 17:50:50 ERROR: server recv: Connection reset by peer

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

{ "server":["::0","0.0.0.0"], "server_port":8388, "encryption_method":"chacha20-ietf-poly1305", "password":"0+41Z67afA3c4XZw+72kTQ==", "mode":"tcp_only", "fast_open":false }

dev4u commented 3 years ago

我猜可能是撞墙了,加个tls 1.3的插件试试。

gitcoinkuang commented 3 years ago

我猜可能是撞墙了,加个tls 1.3的插件试试。

这个是不是要有域名,我是从xray过来的,就是不想用域名了,喜欢ss的简洁

cwyin7788 commented 3 years ago

"tcp_only"

把端口改一下,和将加密改为aes-256-gcm试试,我自己在用aes-256-gcm,目前还没死,有人说:

https://github.com/shadowsocks/shadowsocks-android/issues/2677

也有人说:

https://github.com/shadowsocks/shadowsocks-libev/issues/2395

Leetroch commented 2 years ago

"tcp_only"

把端口改一下,和将加密改为aes-256-gcm试试,我自己在用aes-256-gcm,目前还没死,有人说:

shadowsocks/shadowsocks-android#2677

也有人说:

2395

我2021国庆节前后就挂了,后来11月确定阵亡,用的是aes-256-gcm