-
Notifications
You must be signed in to change notification settings - Fork 443
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
[Bug] Not sending Keep-alive #1599
Comments
Thanks for the feedback. Already have the auto-reconnect enabled, but sometimes it will give-up the reconnections attempt, but need to check if it is any issue with the broker (NanoMQ). Will wait for release of v2.0 to check if it is OK. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What did I do
MQTTX periodically "forget" to send the keep-alive to the broker. The interval that it happens is not always the same.
I have a connection to a broker, and defined the keep-alive to 60 seconds, no special error appears on the log file except indication that the connection was terminated.
Broker is an NanoMQ instance, Version: v0.21.6-6.
Have other clients connected (using Node-Red, MQTT.JS) and there are no issues with those connections, some running on the same machine as MQTTX.
What happened
Connection is terminated by broker since no Kepp-Alive message is sent to broker.
Expected
MQTTX should always send the keep-alive to broker according to configured interval.
Environment
More detail
More detail include
log
information or screenshotScreenshot from Wireshark
The text was updated successfully, but these errors were encountered: