MQTT disconnection

AndonProject
Posts: 3
Joined: Wed Dec 06, 2017 9:29 am

MQTT disconnection

Postby AndonProject » Mon Jan 22, 2018 7:38 am

Hello Community

We are working on an Andon project using the MQTT protocol (MQTTClient.h).
The ESP32 works as a client and the server is set on a company intern network. However, the WiFi connection is established and stable.
But the client gets disconnected from the Server. We solved it, that we check in the loop if it still is connected to the MQTT broker. If not, a new connection will be established.
We know the solution is not ideal, but it works for small number for disconnection. But in our case there are too much disconnections.
How can we solve this? May it be possible, that the MQTT broker has some issues?

Cheers

Who is online

Users browsing this forum: No registered users and 62 guests