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

Unable to reconnect after protocol error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.10, 5.11.0 Alpha, 5.11.0
    • 5.10.0
    • MQTT
    • None
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mkalinow Maurice Kalinowski
            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