MQTT won't reconnect if the broker is not available at startup

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Trivial
    • 7.0.20rc1, 7.4.4rc1, 8.0.0alpha1
    • Affects Version/s: 7.0.18rc1, 7.4.2rc1, 8.0.0alpha1
    • Component/s: None
    • None
    • Sprint candidates
    • 3

      Steps to reproduce:

      1. Add MQTT item
      2. Stop MQTT broker
      3. Restart the agent
      4. Wait for some time
      5. Start MQTT broker

      Result:
      Error "Connection refused" in log, the item is not updated with new values. The plugin never reconnects.
      Expected:
      MQTT plugin reconnects to the broker, item receives updates.

      If the agent starts when the broker is available, then further connectivity problems are handled gracefully and the plugin reconnects properly.

            Assignee:
            Oskars Pucka
            Reporter:
            Alex Kalimulin
            Team INT
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0h
                0h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 57h
                57h