carealtor Posted September 6, 2019 Share Posted September 6, 2019 Log file attached. HarmonyHub NodeServer is disconnecting several times a day. Other NodeServers are fine. Thanks HarmonyHub_logs_9_5_2019, 7_43_39 PM.zip Link to comment Share on other sites More sharing options...
Jimbo.Automates Posted September 6, 2019 Share Posted September 6, 2019 Do you reserve the IP addresses for your hubs so they don't ever change? Also, make sure xmpp is still enabled for each in the Harmony App. 2019-09-05 19:03:39,759 [Thread-74 ] [ERROR] Failed to connect to 192.168.1.80:5222 after 5 tries 2019-09-05 19:03:55,087 [Thread-72 ] [ERROR] Failed to connect to 192.168.1.103:5222 after 5 tries The eventually causes the nodeserver to crash with a bug I will need to look into. https://github.com/jimboca/udi-harmony-poly/issues/21 Link to comment Share on other sites More sharing options...
Jimbo.Automates Posted September 6, 2019 Share Posted September 6, 2019 Also, some are ok, some are not. You have all these: 2019-09-05 07:11:40,349 [NodeServer] [DEBUG] HarmonyController:add_hub: address=h4587ee21c8fde name='Treadmill Room' host=192.168.1.103 port=5222 update=False 2019-09-05 07:11:40,350 [NodeServer] [DEBUG] HarmonyController:add_hub: address=h572b95b3e3c96 name='Master Bedroom' host=192.168.1.92 port=5222 update=False 2019-09-05 07:11:40,352 [NodeServer] [DEBUG] HarmonyController:add_hub: address=hc171e24439cef name='Office' host=192.168.1.94 port=5222 update=False 2019-09-05 07:11:40,354 [NodeServer] [DEBUG] HarmonyController:add_hub: address=hec01766606911 name='Patio' host=192.168.1.112 port=5222 update=False 2019-09-05 07:11:40,355 [NodeServer] [DEBUG] HarmonyController:add_hub: address=hbe0caaad82dcb name='Family Room' host=192.168.1.80 port=5222 update=False But only the two are having issues. Link to comment Share on other sites More sharing options...
carealtor Posted September 6, 2019 Author Share Posted September 6, 2019 Thanks. This gives me something to investigate. Is it by design that the NodeServer disconnects when it runs into such problems? Link to comment Share on other sites More sharing options...
Jimbo.Automates Posted September 6, 2019 Share Posted September 6, 2019 2 hours ago, carealtor said: Is it by design that the NodeServer disconnects when it runs into such problems? Nope. As I mentioned: This eventually causes the nodeserver to crash with a bug I will need to look into. https://github.com/jimboca/udi-harmony-poly/issues/21 I have reproduced this error on my system and in the process if debugging, it actually looks like an issue in the polyglot python library, but not positive yet. Link to comment Share on other sites More sharing options...
carealtor Posted September 6, 2019 Author Share Posted September 6, 2019 Gotcha. Just thinking out loud... I'm not adverse to modifying files if I could fix my address problems by doing so. Would it be possible to put the correct hub addresses somewhere in the Polyglot files and correct my problem? I'm not knowledgeable enough about Polyglot or the HarmonyHub NodeServer to know where to go, but if knew what file specifically to look at, I might be able to fix my issue. Link to comment Share on other sites More sharing options...
Jimbo.Automates Posted September 6, 2019 Share Posted September 6, 2019 The fix is in the Polyglot python library for the crash, I have submitted a fix but will take some time to push out a new release. The ~/.polyglot/nodeservers/HarmonyHub/hubs.json contains the IP addresses. But can't you just set them back to what they were and reserve them on your router so they never change again? Link to comment Share on other sites More sharing options...
carealtor Posted September 6, 2019 Author Share Posted September 6, 2019 Thanks Jimbo. I just like options. I'm weird that way. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.