I'm running this mqtt client with arduino-esp32 framework, using WiFiClient of arduino-esp32 as network layer. In this setup every time after connect and subscribe, ~15 seconds later the connection is closed and i get this error message from network layer:
I'm running this mqtt client with arduino-esp32 framework, using WiFiClient of arduino-esp32 as network layer. In this setup every time after connect and subscribe, ~15 seconds later the connection is closed and i get this error message from network layer:
[D][WiFiClient.cpp:509] connected(): Disconnected: RES: 0, ERR: 128
ERR 128 means no socket.
Tested with various MQTT servers (Hive, Mosquitto, Shiftr.io)