Skip to content

1.0.1 does not work properly on ESP32, causes "PANIC" somethimes on reconnect #34

@wladwnt

Description

@wladwnt

ESP32:
I had issues with 0.9 Version, but with 1.0.1 it is worser. I do lot of stress tests, enabling/disabling many times WLAN router, killing MQTT server, emulating very poor WiFi signal etc. V1.0.1 crashes (causing ESP_RST_PANIC) much oftner than V0.9 did. In total, it happens approximately each 50st. event, so definately not each time and is not really reproducable (that why is hard to trace what exactely happens). Yes, I publish only if WiFi is connected, only when free heap is enough, only if TXQ size is not too big, hav payloads length only max. 128 bytes, ..... Maybe the issue is the AsyncTCP used by PangolinMQTT, I dont know.

So, for now, I mooved back to original ESP-IDF v3.3 MQTT implementation. It has some disadvantages, but absolutely stable.
PangolinMQTT is basicaly great Lib, but at least fro ESP32 must reach higher maturity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions