Closed pbrenna closed 5 years ago
The mosquitto configuration that causes this behavior is:
listener 1883
protocol mqtt
max_inflight_messages 0
listener 9093
protocol websockets
max_inflight_messages 0
Without the second part about websockets, the delay is not reproducible. This should be a bug on mosquitto's part (since I try to connect to port 1883).
The current master (and since at least f1d9885d997) can't connect (MqttClient::start) to the mosquitto broker since 1.6.4; 1.6.3 works fine.
This might be an issue with mosquitto or with this library. For reference, this is the changelog: https://mosquitto.org/ChangeLog.txt
EDIT: both with master and with f1d9885d997, it connects after a long delay (~30s).
Mosquitto's log against rumqtt master (there is only one instance of the client):