HiveMQ randomly disconnected and reconnected many times

Hi, I am doing 1 small project for my studies. I use Node-red to connect to HiveMQ to use MQTT to control IoT. But on the CMD window of Node-red, it keeps showing the connected-disconnected continuously. Can anyone point me out how to resolve this problem?

Hello @khanhnecaccau

Welcome to the HiveMQ community forum. Glad to see you are taking an interest in MQTT and HiveMQ.

We recommend reviewing another post where users successfully connected to the HiveMQ broker, as it may provide useful insights for your situation.

However, if you still require assistance, please don’t hesitate to share your workflow details with us. We’ll be more than happy to take a closer look and offer further assistance.

Sheetal from HiveMQ Team