Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108276

MQTT WebSocket doesn't connect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 6.4.2, 6.5.0 Beta1
    • 6.4.0
    • MQTT
    • None
    • All
    • 69e2b30057 (qt/qtwebsockets/dev) 69e2b30057 (qt/tqtc-qtwebsockets/dev) e4ada4e19e (qt/qtwebsockets/6.4) e4ada4e19e (qt/tqtc-qtwebsockets/6.4)

    Description

      When I use my code to connect to my MQTT server over WebSocket using QT 6.3.2, everything works perfectly.

      But when I compiled the exact same code with QT 6.4.0, the connection to my MQTT server over websockets always timesout with no error messages.

      There's no compiler errors.

      If I compile for WebAssembly, everything works. I assume webassembly do not use any of the network and ssl libraries used by IOS & OSX, so I suspect something is wrong with the network and/or ssl libraries.

      By the way, I also tested with the WebSocket MQTT example and I get the same issue. If I compile using version 6.3.2, the MQTT connection connects perfectly over websockets. If I compile the exact same code using version 6.4.0, the MQTT connection timesout.

      Attachments

        For Gerrit Dashboard: QTBUG-108276
        # Subject Branch Project Status CR V

        Activity

          People

            manordheim MÃ¥rten Nordheim
            monettes Stephan Monette
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes