256dpi / arduino-mqtt

MQTT library for Arduino
MIT License
1.02k stars 236 forks source link

[ESP32] socket disconnect 15 seconds after subscription #210

Closed cyberman54 closed 4 years ago

cyberman54 commented 4 years ago

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)

256dpi commented 4 years ago

Closing as outdated. Please reopen if problem persists.