No announcement yet.

Plugin connects/disconnects all the time

  • Filter
  • Time
  • Show
Clear All
new posts

  • Plugin connects/disconnects all the time

    When I try to connect from two HS-systems (different IP) to the same broker then both plugins connect disconnect all the time. If I only have one plugin enabled everything is fine.
    Could it be that plugin uses the same client ids?

  • #2
    The client id is "mcsMQTT on xxx" where xxx is System.Net.Dns.GetHostName. Do your two computers have the same computer/network/host name?

    In the mcsMQTT debug the client id is shown when attempting connection to the broker.

    I will not be back until next week to try to replicate this. There may be some info in the debug (\Data\mcsMQTT\mcsMQTT Debug.txt) when General tab has debug enabled. You can post the two so I can look. From there I may be able to make another test build to explore further at this time.


    • #3
      Thanks, I had the same System.Net.Dns name. Changed name in one HS-server and now it's working.
      (Found Client ID in the log: 2019-01-04 20:10:44 36520 | MQTT Thread Client ID=mcsMQTT on raspberrypi)