openhab-addons: Harmony Hub binding exception

I’m getting the following exception periodicallay; Don’t know what the problem is.

16:17:25.139 [WARN ] [rg.jivesoftware.smack.XMPPConnection] - Connection closed with error
java.io.EOFException: no more data available - expected end tag </stream:stream> to close start tag <stream:stream> from line 1, parser stopped on END_TAG seen ...<![CDATA[result=-1]]></oa></iq>... @1:640
        at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035)[197:org.openhab.binding.harmonyhub:2.0.0.201609062002]
        at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)[197:org.openhab.binding.harmonyhub:2.0.0.201609062002]
        at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1144)[197:org.openhab.binding.harmonyhub:2.0.0.201609062002]
        at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)[197:org.openhab.binding.harmonyhub:2.0.0.201609062002]
        at org.jivesoftware.smack.tcp.PacketReader.parsePackets(PacketReader.java:279)[197:org.openhab.binding.harmonyhub:2.0.0.201609062002]
        at org.jivesoftware.smack.tcp.PacketReader.access$000(PacketReader.java:47)[197:org.openhab.binding.harmonyhub:2.0.0.201609062002]
        at org.jivesoftware.smack.tcp.PacketReader$1.run(PacketReader.java:81)[197:org.openhab.binding.harmonyhub:2.0.0.201609062002]

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 61 (17 by maintainers)

Commits related to this issue

Most upvoted comments

With respect of stability. Aside that the harmony hub binding is not working properly I noticed that my openhab installation is getting very slow after about 2-3 days and finally it is crashing when I have harmony hub binding installed.

@wborn You made my day! It was exactly the issue you quoted.

Never the less, I still get 2 warnings - but it works! 23:58:31.026 [WARN ] [ore.internal.events.OSGiEventManager] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.internal.ThingManager@1719a38' takes more than 5000ms. 23:58:31.027 [WARN ] [ome.core.thing.internal.ThingManager] - Handler for thing 'harmonyhub:device:Wohnzimmer:23420645' takes more than 5000ms for processing event

Thanks again and have a good start for the week.

@wborn you are my hero! I started working on upgrading to 4.2 this weekend, but got stuck after trying to do the sasl plain auth. I will test your port today. Thanks so much.

@DrLaban I just had a look and Harmony things, their configurations and linked items all remained when swapping between both versions.

@DrLaban The easiest way to test the updated binding is by:

  1. uninstall the default Harmony binding via PaperUI (Add-ons, Bindings)
  2. copy the updated JAR into the openHAB /addons/ directory

In the reverse order you can again revert to the default Harmony binding:

  1. delete the updated JAR from the openHAB /addons/ directory
  2. install the default Harmony binding via PaperUI (Add-ons, Bindings)

In the openHAB console you can also check your Harmony binding version with:

  • bundle:list|grep Harmony

It will then show version 2.0.0 (default) or 2.1.0.201703190118 (update)