QT MQTT does not connect to Rabbit MQ
-
wrote on 18 Jun 2019, 10:21 last edited by Marco Veglio
Hi all,
I downloaded and compiled the official QT MQTT module at https://doc.qt.io/QtMQTT/, on an Ubuntu machine.
I built the examples and tried to connect to Rabbit MQ (host 127.0.0.1, port 5672, uname "guest", pwd "guest") using the "Subscriptions" example. Rabbit MQ is using default settings (v3.7.8).
However, when I press Connect the state changes from 0 to 1 and then again to 0, without connecting. When debugging, I receive a "65" packet, which is interpreted as an invalid "PUBACK" packet.
Any clue on what I'm doing wrong?
Thanks for helping. -
Hi all,
I downloaded and compiled the official QT MQTT module at https://doc.qt.io/QtMQTT/, on an Ubuntu machine.
I built the examples and tried to connect to Rabbit MQ (host 127.0.0.1, port 5672, uname "guest", pwd "guest") using the "Subscriptions" example. Rabbit MQ is using default settings (v3.7.8).
However, when I press Connect the state changes from 0 to 1 and then again to 0, without connecting. When debugging, I receive a "65" packet, which is interpreted as an invalid "PUBACK" packet.
Any clue on what I'm doing wrong?
Thanks for helping.wrote on 18 Jun 2019, 17:24 last edited by@Marco-Veglio invoking @mkalinow just in case...
- are you able to connect to such server with other client, i.e. Paho MQTT C client?
- are you able to connect such example to any other server, i.e. broker.hivemq.com?
1/2