mosquitto
mosquitto copied to clipboard
mosquito printf Protocol error, and client in a Loop reconnection
When I used mqtt 5.0, qos=2, clean_start=false, the mosquito server kept reporting "Client disconnected: Protocol error" or "Client disconnected: Malformed packet" , the client kept reconnecting and disconnecting.
operator system: ubuntu20.04 mosquito version: 2.0.20 mqtt: paho.mqtt.cpp 1.3.13
Thank you for the report. Did you try with any other client? Have you got some example code you could share that shows this behaviour?