Troubleshooting FAQs
2. Operations
2.1. MQTT connections can be established, but are closed by the server after a few seconds
Usually, this behavior can be observed when you have two different clients running with the same configuration/database, for example on your local machine and on a centrally hosted development environment.
When two MQTT clients with the same client ID connect to the broker, the broker will disconnect the first client when the second client connects. This behavior is defined in the MQTT specification and is known as "Client Take-Over" or "Session Take-Over".
To fix this, make sure you are using separate Router Devices for each client/environment you deploy.