-
Notifications
You must be signed in to change notification settings - Fork 643
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
Akka MQTT Streaming: PingFailed not generated when client is busy. #2905
Comments
@sbmpost FYI I'm no longer involved with this project. Thanks for the notification. |
@ennru Also notifying you then ;-) |
Thank you for your investigation of the ping. Most of my MQTT protocol knowledge has been evicted. |
@ennru |
Colleague from @sbmpost speaking here. We did discuss this in our team but with the recent license changes, we can't commit company resources to this. While we gladly contribute to projects that our business is based on, we can't spend the resources on bugfixes in software, that we must then license to use. |
@huntc
I slightly modified the test in MqttSessionSpec to start publishing when a ping response is expected. This results in the ping timer being reset eventhough a ping response is still pending. We get the PingFailed exception only after we stop publishing (which may never happen). There may be messages other than 'publish' resulting in the same behaviour. I suggest to check all places in the file called 'ClientState', where the method 'serverConnected' calls itself with:
Here is the slightly adapted test using 'awaitCond' to demonstrate the issue:
The text was updated successfully, but these errors were encountered: