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

totsom
Posts: 4
Joined: Mon May 18, 2020 9:27 am

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

Postby totsom » Mon Feb 14, 2022 1:19 pm

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

Who is online

Users browsing this forum: Baidu [Spider] and 75 guests