-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Heartbeat: Heartbeat (server) inactivity not detected #148
Comments
Nestorfish
added a commit
to Nestorfish/stomp-php
that referenced
this issue
Oct 23, 2020
When no data is available, we should not update server activity timestamp. Instead, ask if something is going wrong. Fixes stomp-php#148 Due to stomp-php/stomp-php@3f35438
This was referenced Oct 23, 2020
Nestorfish
added a commit
to Nestorfish/stomp-php
that referenced
this issue
Oct 25, 2020
When no data is available, we should not update server activity timestamp. Instead, ask if something is going wrong. Fixes stomp-php#148 Due to stomp-php/stomp-php@3f35438
Nestorfish
added a commit
to Nestorfish/stomp-php
that referenced
this issue
Oct 25, 2020
When no data is available, we should not update server activity timestamp. Instead, ask if something is going wrong. Fixes stomp-php#148 Due to stomp-php/stomp-php@3f35438
I've just spent some time debugging this issue and I've come to the same conlusion. An Currently, the heatbeat timer is reset on every |
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using ServerAliveObserver alone (no client heartbeat), with no SSL, server network inactivity is not detected.
In this case, I fixed this by changing emptyBuffer() in Observer/AbstractBeats.php to call onPotentialConnectionStateActivity(), instead of onServerActivity() which refreshed lastbeat.
The text was updated successfully, but these errors were encountered: