Harmony Hub Binding Disconnecting and Reconnecting Every 60 seconds

Hi, been running openhab for about 4 months now. I’m having issues with the Harmony Hub Binding. Every 60 seconds in the event log it disconnects and then re connects. I will paste the log file below. I’m not sure what to do. I’ve tried all very basic things but any help would be great!

2020-03-26 10:44:56.798 [hingStatusInfoChangedEvent] - ‘harmonyhub:hub:HarmonyHub’ changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not connect: Disconnected

2020-03-26 10:44:56.798 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:66482222’ changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)

2020-03-26 10:44:56.798 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:50084417’ changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)

2020-03-26 10:44:56.798 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:50084416’ changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)

2020-03-26 10:44:56.799 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:67169643’ changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)

2020-03-26 10:44:56.799 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:67176629’ changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)

2020-03-26 10:44:56.799 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:67690534’ changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)

2020-03-26 10:44:56.799 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:67168687’ changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)

2020-03-26 10:44:56.799 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:50084418’ changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)

2020-03-26 10:44:56.799 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:67340885’ changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)

2020-03-26 10:44:56.799 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:67169425’ changed from ONLINE to OFFLINE (BRIDGE_OFFLINE)

2020-03-26 10:45:56.893 [hingStatusInfoChangedEvent] - ‘harmonyhub:hub:HarmonyHub’ changed from OFFLINE (COMMUNICATION_ERROR): Could not connect: Disconnected to ONLINE

2020-03-26 10:45:56.893 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:66482222’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE

2020-03-26 10:45:56.893 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:50084417’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE

2020-03-26 10:45:56.893 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:67169643’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE

2020-03-26 10:45:56.894 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:67340885’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE

2020-03-26 10:45:56.894 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:50084418’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE

2020-03-26 10:45:56.895 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:50084416’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE

2020-03-26 10:45:56.895 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:67168687’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE

2020-03-26 10:45:56.895 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:67176629’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE

2020-03-26 10:45:56.895 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:67169425’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE

2020-03-26 10:45:56.895 [hingStatusInfoChangedEvent] - ‘harmonyhub:device:HarmonyHub:67690534’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE

2020-03-26 10:45:56.895 [me.event.ThingUpdatedEvent] - Thing ‘harmonyhub:device:HarmonyHub:66482222’ has been updated.

2020-03-26 10:45:56.895 [me.event.ThingUpdatedEvent] - Thing ‘harmonyhub:device:HarmonyHub:50084417’ has been updated.

2020-03-26 10:45:56.895 [me.event.ThingUpdatedEvent] - Thing ‘harmonyhub:device:HarmonyHub:50084418’ has been updated.

2020-03-26 10:45:56.895 [me.event.ThingUpdatedEvent] - Thing ‘harmonyhub:device:HarmonyHub:67176629’ has been updated.

2020-03-26 10:45:56.895 [me.event.ThingUpdatedEvent] - Thing ‘harmonyhub:device:HarmonyHub:67169643’ has been updated.

2020-03-26 10:45:56.895 [me.event.ThingUpdatedEvent] - Thing ‘harmonyhub:device:HarmonyHub:50084416’ has been updated.

2020-03-26 10:45:56.896 [me.event.ThingUpdatedEvent] - Thing ‘harmonyhub:device:HarmonyHub:67690534’ has been updated.

2020-03-26 10:45:56.896 [me.event.ThingUpdatedEvent] - Thing ‘harmonyhub:device:HarmonyHub:67340885’ has been updated.

2020-03-26 10:45:56.896 [me.event.ThingUpdatedEvent] - Thing ‘harmonyhub:device:HarmonyHub:67169425’ has been updated.

2020-03-26 10:45:56.896 [me.event.ThingUpdatedEvent] - Thing ‘harmonyhub:device:HarmonyHub:67168687’ has been updated.

2020-03-26 10:45:56.896 [me.event.ThingUpdatedEvent] - Thing ‘harmonyhub:hub:HarmonyHub’ has been updated.

If you are running openHAB 2.5 or newer and upgraded, you likely have an invalid addon in your config that restarts all addons every 6- seconds trying to load the invalid one. A common culprit is restdocs since its location moved. Check the addons.config (not addons,cfg) file down in the userdata tree.

Nothing there in the folder. I didnt upgrade, its a fresh install.

Is the binding working at all via openhab? Seen other similar posts relating to XMPP not being enabled on the Harmony side so openhab can talk to it. (after the firmware update last year)

The current binding uses websockets, so it’s not necessary to enable XMPP on the harmony side, better disable it if still activated.

Try stopping OH and restarting a few times. Takes me 2-3 restarts for everything to work correctly.

sudo systemctl restart openhab2

Just make sure to watch the logs and restart only after OH has fully restarted.