- Notifications
You must be signed in to change notification settings - Fork1.4k
MQTT frequent connection and disconnection#1997
-
I am using 4.3.14-beta version on react app running on raspberry-pi and I have emqx server where mqtt clients connect. But I am facing frequent disconnection/connection with static id for particular raspberry-pi and if I make client id dynamic for particular raspberry pi, I am getting multiple clients connected for the same raspberry pi and same ip address. How can I fix this? And is there any wrong with version I am using? I have also handled the onConnect and onDisconnect event? Please help Thank you |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
-
If you have 2 clients connecting with the same clientId this is normal, the last one connecting will be disconnected and it will try to reconnect again indeterminately |
BetaWas this translation helpful?Give feedback.