Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception every minute after linking harmony hub #886

Closed
delgurth opened this issue Jan 30, 2018 · 4 comments
Closed

Exception every minute after linking harmony hub #886

delgurth opened this issue Jan 30, 2018 · 4 comments

Comments

@delgurth
Copy link

delgurth commented Jan 30, 2018

I recently started using ha-bridge to get my FRITZ!Dect 200 to work with my Harmony Hub remote. I've seen the pull request for the FRITZ!Box support, but haven't had time yet to really look at the current state and on how to get that working nicely, so I now just shell commands to switch it on/off. And that works just fine.

But, after I added my Harmony Hub to ha-bridge I'm getting a warning every minute:

Jan 30 10:08:56 raspberrypi java[12841]: Jan 30, 2018 10:08:56 AM org.jivesoftware.smack.XMPPConnection callConnectionClosedOnErrorListener
Jan 30 10:08:56 raspberrypi java[12841]: WARNING: Connection closed with error
Jan 30 10:08:56 raspberrypi java[12841]: 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 ...</mechanisms></stream:features>... @1:307
Jan 30 10:08:56 raspberrypi java[12841]: #011at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035)
Jan 30 10:08:56 raspberrypi java[12841]: #011at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
Jan 30 10:08:56 raspberrypi java[12841]: #011at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1144)
Jan 30 10:08:56 raspberrypi java[12841]: #011at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
Jan 30 10:08:56 raspberrypi java[12841]: #011at org.jivesoftware.smack.tcp.PacketReader.parsePackets(PacketReader.java:279)
Jan 30 10:08:56 raspberrypi java[12841]: #011at org.jivesoftware.smack.tcp.PacketReader.access$000(PacketReader.java:47)
Jan 30 10:08:56 raspberrypi java[12841]: #011at org.jivesoftware.smack.tcp.PacketReader$1.run(PacketReader.java:81)

I've seen that the tuck182/harmony-java-client has been updated to smack 4.2.0 from people using it in openhab2 after they got some problems. It seems that your merge missed at least a part of that pull since you are using smack-core 4.0.7.

Is there a reason you are maintaining your own version of harmony-java-client?

@bwssytems
Copy link
Owner

Hmm, will take a look at updating that.

@bwssytems bwssytems added this to the 5.2.0 milestone Jan 30, 2018
@bwssytems
Copy link
Owner

Upgraded to the latest library. Take a look at the 5.2.0 RC11 in #863

@delgurth
Copy link
Author

RC11 works perfectly for me. Thanks for the quick fix.

@bwssytems bwssytems reopened this Jan 31, 2018
@bwssytems
Copy link
Owner

keeping open until 5.2.0 is released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants