Page 1 of 1

MQTT disconnects, error: MQTT_CLIENT: Read error or end of stream

Posted: Mon Feb 14, 2022 1:19 pm
by totsom
As the tittle says, we get random disconnects with only an 'alive' topic updating every second.

The error is:

Code: Select all

MQTT_CLIENT: Read error or end of stream
We are working with:
platform = espressif32@1.11.2
framework = arduino, espidf

We don't know how to look for the MQTT library version..

The last thing we tried is to update the MQTT library to this one: https://github.com/espressif/esp-mqtt, which looks like is working better.

If you consider that more information can help, I'll be here to provide it.

-- Marc