[harmonyhub] Exceptions when turning off hub
See original GitHub issueMy harmony hub is connected to a power outlet strip together with the AV-Receiver and the TV. When I turn off the devices I get exceptions from the harmony binding:
2018-07-30 08:54:50.760 [WARN ] [.whistlingfish.harmony.HarmonyClient] - Send heartbeat failed
java.lang.RuntimeException: Failed communicating with Harmony Hub
at net.whistlingfish.harmony.HarmonyClient.sendOAStanza(HarmonyClient.java:342) [189:org.openhab.binding.harmonyhub:2.4.0.201807281702]
at net.whistlingfish.harmony.HarmonyClient.sendOAStanza(HarmonyClient.java:331) [189:org.openhab.binding.harmonyhub:2.4.0.201807281702]
at net.whistlingfish.harmony.HarmonyClient.sendPing(HarmonyClient.java:400) [189:org.openhab.binding.harmonyhub:2.4.0.201807281702]
at net.whistlingfish.harmony.HarmonyClient$2.run(HarmonyClient.java:181) [189:org.openhab.binding.harmonyhub:2.4.0.201807281702]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 5000ms (~5s). Waited for response using: net.whistlingfish.harmony.protocol.OAReplyFilter@86f543.
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:110) ~[?:?]
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:97) ~[?:?]
at net.whistlingfish.harmony.HarmonyClient.getNextStanzaSkipContinues(HarmonyClient.java:354) ~[?:?]
at net.whistlingfish.harmony.HarmonyClient.sendOAStanza(HarmonyClient.java:340) ~[?:?]
... 10 more
2018-07-30 08:55:20.766 [WARN ] [harmonyhub.handler.HarmonyHubHandler] - heartbeat failed
java.lang.RuntimeException: Failed communicating with Harmony Hub
at net.whistlingfish.harmony.HarmonyClient.sendOAStanza(HarmonyClient.java:342) ~[?:?]
at net.whistlingfish.harmony.HarmonyClient.sendOAStanza(HarmonyClient.java:331) ~[?:?]
at net.whistlingfish.harmony.HarmonyClient.sendPing(HarmonyClient.java:400) ~[?:?]
at org.openhab.binding.harmonyhub.handler.HarmonyHubHandler.lambda$0(HarmonyHubHandler.java:240) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 5000ms (~5s). Waited for response using: net.whistlingfish.harmony.protocol.OAReplyFilter@113f323.
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:110) ~[?:?]
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:97) ~[?:?]
at net.whistlingfish.harmony.HarmonyClient.getNextStanzaSkipContinues(HarmonyClient.java:354) ~[?:?]
at net.whistlingfish.harmony.HarmonyClient.sendOAStanza(HarmonyClient.java:340) ~[?:?]
... 10 more
2018-07-30 08:55:50.766 [WARN ] [.whistlingfish.harmony.HarmonyClient] - Send heartbeat failed
java.lang.RuntimeException: Failed communicating with Harmony Hub
at net.whistlingfish.harmony.HarmonyClient.sendOAStanza(HarmonyClient.java:342) [189:org.openhab.binding.harmonyhub:2.4.0.201807281702]
at net.whistlingfish.harmony.HarmonyClient.sendOAStanza(HarmonyClient.java:331) [189:org.openhab.binding.harmonyhub:2.4.0.201807281702]
at net.whistlingfish.harmony.HarmonyClient.sendPing(HarmonyClient.java:400) [189:org.openhab.binding.harmonyhub:2.4.0.201807281702]
at net.whistlingfish.harmony.HarmonyClient$2.run(HarmonyClient.java:181) [189:org.openhab.binding.harmonyhub:2.4.0.201807281702]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 5000ms (~5s). Waited for response using: net.whistlingfish.harmony.protocol.OAReplyFilter@1bffab2.
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:110) ~[?:?]
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:97) ~[?:?]
at net.whistlingfish.harmony.HarmonyClient.getNextStanzaSkipContinues(HarmonyClient.java:354) ~[?:?]
at net.whistlingfish.harmony.HarmonyClient.sendOAStanza(HarmonyClient.java:340) ~[?:?]
... 10 more
Issue Analytics
- State:
- Created 5 years ago
- Comments:27 (12 by maintainers)
Top Results From Across the Web
Changing when a device powers on or off
The device will be powered off when you press the Off button on your Harmony remote indicating that you want everything turned off....
Read more >Harmony Smart Control™ User Guide - Logitech
Open your Harmony Smart Control box and familiarize yourself with the components. 1. Harmony Hub. 2. Pair / Reset button. 3. Micro USB...
Read more >Harmony hub turns off everything when ending an activity
Is it normal for the Harmony Hub to turn off everything when ending just one activity? For example, I have a Watch TV...
Read more >Harmony hub problems after update - Configuration
I want turn off only one activity and my code working without any problems before update. Now this code turn off all my...
Read more >Using the Harmony Hub to control devices - Connected Things
Anyone have any experience here with using the Harmony Hub with ... “Echo Turn Off House” (again, with a logical switch) when we...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks @Celaeno1 , good to know the binding is working. Fixed was merged a few days ago, https://github.com/openhab/openhab2-addons/pull/5011.
We get a network error here
The binding waits a minute and we try to reconnect here but fail to even connect to the HUB
We wait a minute again and are able to connect
This would seem to me to be network related and the binding is handling it as it should.