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

运行一段时间后代理主不可用了,有谁遇到过吗,感觉是 socket 超时卡住了 #49

Open
leadscloud opened this issue Apr 18, 2019 · 5 comments

Comments

@leadscloud
Copy link

leadscloud commented Apr 18, 2019

import socket
import time

cli = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
cli.connect(('127.0.0.1', 6001))

time.sleep(1)

cli.send(b'add: {"server_port":7001, "password":"asdfadsfasdf"}')
# ping 也一样

time.sleep(1)

data, addr = cli.recvfrom(1506)

print(data, addr)

运行上面的脚本,会一超阻塞,无法返回任何数据。

shadowsocksr 运行一段时间后莫名其妙就不行了,只能重启解决。 感觉是程序哪儿有问题,或者是因为内存泄露?

有谁遇到过类似的问题?

@DusKing1
Copy link

我最近也是这样的 同求解

@leadscloud
Copy link
Author

希望更多人看到这个问题

@CRYCATCRY
Copy link

SSR都被搞死了,有人理吗

@AngusLkc
Copy link

dgram是udp协议,看起来客户端没毛病。可能是服务端原因

@GitCod-Man
Copy link

被GFW屏蔽了,需要换IP了

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

5 participants