Brokers disconnected

Posted on
Thu Aug 25, 2022 3:34 pm
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Brokers disconnected

Hi Joe,
Returned from a few days away and found that my 2 MQTT brokers were disconnected. I restarted the plugin and no changes. What did fix it was when I selected Amazon IOT broker and the returned back to MQTT broker. Below is all I could get from the error messages:
Code: Select all
   Reloading plugin "MQTT Broker 2022.1.0" using API v3.0
   Stopping plugin "MQTT Broker 2022.1.0" (pid 1545)
   Stopped plugin "MQTT Broker 2022.1.0"
   Starting plugin "MQTT Broker 2022.1.0" (pid 1620)
   MQTT Connector Error            Shelly Broker: Disconnected with result code 1
   Started plugin "MQTT Broker 2022.1.0"

Posted on
Thu Aug 25, 2022 4:03 pm
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Brokers disconnected

That makes no sense. Unless you can reproduce it, I'm chalking that one up to cosmic rays.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Aug 25, 2022 4:12 pm
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Re: Brokers disconnected

Cosmic rays it is for the time being...

Posted on
Thu Aug 25, 2022 4:16 pm
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Brokers disconnected

Colly wrote:
Cosmic rays it is for the time being...


Oh wait. You restarted the Broker plugin. You should have restarted the Connector plugin.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Aug 25, 2022 4:21 pm
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Re: Brokers disconnected

Yes I restarted the Broker.

Posted on
Thu Aug 25, 2022 4:22 pm
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Brokers disconnected

Colly wrote:
Yes I restarted the Broker.


It's an MQTT Connector device that connects to a Broker. So if there's a disconnect, it's the connector device. And that's the plugin that needs to be restarted.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Aug 25, 2022 4:26 pm
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Re: Brokers disconnected

OK so I've created a trigger to notify me if the broker gets disconnected and then added a plugin restart for the connector device. That should at least avoid it staying disconnected for long if it were to happen again.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron