Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT MQTT does not connect to Rabbit MQ
Forum Updated to NodeBB v4.3 + New Features

QT MQTT does not connect to Rabbit MQ

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 486 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marco Veglio
    wrote on last edited by Marco Veglio
    #1

    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.

    Pablo J. RoginaP 1 Reply Last reply
    0
    • M 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.

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @Marco-Veglio invoking @mkalinow just in case...

      1. are you able to connect to such server with other client, i.e. Paho MQTT C client?
      2. are you able to connect such example to any other server, i.e. broker.hivemq.com?

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved