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

Unable to reconnect after protocol error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.10.0
    • Fix Version/s: 5.10, 5.11.0 Alpha, 5.11.0
    • Component/s: MQTT
    • Labels:
      None
    • Commits:
      68fe97befd4a05dad5f3a7efadc299db6ab9a9cf

      Description

      When a protocol error occurs and the client disconnects, further QMqttClient::connectToHost() calls will never be able to connect. The whole client object must be recreated. This is easily testable by running nc -k -l 1883, writing random stuff when the client connects, and then running a proper mqtt broker while trying to reconnect with the client.

        Attachments

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

          Activity

            People

            Assignee:
            mkalinow Maurice Kalinowski
            Reporter:
            krojew Kamil Rojewski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes