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

Server keep sending old heart beat after client restart #459

Closed
Mukou-Aoi opened this issue Feb 27, 2023 · 2 comments
Closed

Server keep sending old heart beat after client restart #459

Mukou-Aoi opened this issue Feb 27, 2023 · 2 comments

Comments

@Mukou-Aoi
Copy link

When running under icmp mode, if client is restarted while server is running, server will keep sending old heart beat to client even after reconnect.

On client size this results in icmp id mis-match,ignored messages, on server side this is shown as multiple lines of heart beat sent<xxx,yyy> messages with different ids (xxx.yyy)

The amount of exccesive (old) heat beat messages increas every time the client is restarted, until server finally gives up.

Restart server while client is running doesn't cause this problem, client will only send heart beat to server with new ids after reconnect.

@wangyu-
Copy link
Owner

wangyu- commented Mar 4, 2023

When running under icmp mode, if client is restarted while server is running, server will keep sending old heart beat to client even after reconnect.

how do you restart the client? kill and re-run the client, or use the reconnect command from --pipe?

if it's kill and re-run, then it's as expected. The server is able to serve multiple clients concurrently, it doesn't give up the previous client until the heart beat timeouts.

@Mukou-Aoi
Copy link
Author

Yes, it was kill and re-run (client is using udp2raw-multiplatform on Windows which doesn't support pipe)

I suppose I could workaround this by restart server via ssh as well when restarting the client. (I'm the only user and I only need one client at a time)

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