Open ximon18 opened 11 months ago
At least in the case of broker.emqx.io it seems there's nothing we can do about this as the underlying rumqttc client code doesn't receive anything either, it just discovers that its connection has been closed hence the error message it produces. Also, when reconnecting we cause another connected client to disconnect, the rumqttc client code doesn't receive an error about duplicate client ID.
The same behaviour was also observed with broker.hivemq.com, test.mosquitto.or, publicmqtt.bevywise.com and a locally running EMQX Docker MQTT broker.
I wonder if this is an MQTTv3 protocol thing and with v5 it would be different?
Currently this results in the following unhelpful log message: (line wrapped for readability)