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

client 断线后能否自动重连? #145

Closed
moxuanyuan opened this issue Mar 24, 2022 · 1 comment
Closed

client 断线后能否自动重连? #145

moxuanyuan opened this issue Mar 24, 2022 · 1 comment

Comments

@moxuanyuan
Copy link

moxuanyuan commented Mar 24, 2022

之前发过 issue #143

问题一

路由定时重启断线后,client 端不会自动重连 ,显示 “ Operation timed out (os error 110)”

问题二

每天总会有连不上海外 server 端的情况(国内线路问题),client 端一样会出现 “ Operation timed out (os error 110)” 的问题

第一个问题,因为路由器是定时重启,所以我可以设个 crontab 自动 restart client 端。

但第二个问题,因为线路不能访问的情况是不可控。。我没法预知什么时间连不上,连不上时间多久。。

所以,有没有办法,可以设置 client 在断线后,自动检测,自动重连?

@rapiz1
Copy link
Owner

rapiz1 commented Jun 10, 2022

Should be fixed in v0.4.1

@rapiz1 rapiz1 closed this as completed Jun 10, 2022
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

2 participants