Originally posted by alexbk66
View Post
Announcement
Collapse
No announcement yet.
Harmony Hub Plugin Stops Working About Once A Day
Collapse
X
-
Further info. This evening I saw the same errors I have seen previously but this time it was just one instance of the connection errors. When I noticed the errors I forced an event which calls the harmony PI and it worked fine without any intervention. Still looking good.
Dec-06 20:44:00 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with stack trace: at HarmonyHub.Client.Send(String xml) Dec-06 20:44:00 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with message: Object reference not set to an instance of an object. Dec-06 20:43:53 Event Event Trigger "Messaging New Event - 1" Dec-06 20:43:31 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with stack trace: at HarmonyHub.StreamParser.NextElement(String[] expected) at HarmonyHub.Client.LoginToHarmony(String ip, String sessionToken) at HarmonyHub.Client.Authenticate() at HarmonyHub.Client.Connect(Int32 heartbeatInterval) Dec-06 20:43:31 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with message: Unexpected XML element: message Dec-06 20:43:22 Device Control Device: MeiHarmonyHub MeiHarmonyHub Cambridge Audio Amp to PowerOff (1) Dec-06 20:43:22 Event Event Trigger "Sonos Sonos Family Off"
Comment
-
Originally posted by GTI_SI View PostFurther info. This evening I saw the same errors I have seen previously but this time it was just one instance of the connection errors. When I noticed the errors I forced an event which calls the harmony PI and it worked fine without any intervention. Still looking good.
Dec-06 20:44:00 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with stack trace: at HarmonyHub.Client.Send(String xml) Dec-06 20:44:00 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with message: Object reference not set to an instance of an object. Dec-06 20:43:53 Event Event Trigger "Messaging New Event - 1" Dec-06 20:43:31 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with stack trace: at HarmonyHub.StreamParser.NextElement(String[] expected) at HarmonyHub.Client.LoginToHarmony(String ip, String sessionToken) at HarmonyHub.Client.Authenticate() at HarmonyHub.Client.Connect(Int32 heartbeatInterval) Dec-06 20:43:31 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with message: Unexpected XML element: message Dec-06 20:43:22 Device Control Device: MeiHarmonyHub MeiHarmonyHub Cambridge Audio Amp to PowerOff (1) Dec-06 20:43:22 Event Event Trigger "Sonos Sonos Family Off"
Comment
-
Hi,
can't replicate it at will but I am seeing errors still. Interestingly I have not yet had to restart the PI manually since upgrading but it does appear to have bounced itself at 17:45
Dec-07 17:46:11 Starting Plug-In Plugin MeiHarmonyHub started successfully in 287 milliseconds Dec-07 17:46:10 Starting Plug-In Initializing plugin MeiHarmonyHub ... Dec-07 17:46:10 Starting Plug-In MeiHarmonyHub loaded in 15040 milliseconds Dec-07 17:45:55 Info Plugin MeiHarmonyHub has connected. IP:127.0.0.1:63569 Dec-07 17:45:55 Warning I/O interface MeiHarmonyHub is down, executable is not running, restarting ... Dec-07 17:45:40 Info Plugin MeiHarmonyHub with instance: has disconnected Dec-07 17:45:30 Event Event Trigger "Messaging New Event - 1" Dec-07 17:45:30 Event Event Trigger "Harmony Family Multimedia" Dec-07 17:45:08 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with stack trace: at HarmonyHub.StreamParser.NextElement(String[] expected) at HarmonyHub.Client.GetSessionToken(String ip, String username, String password, Boolean bypassLogitech) at HarmonyHub.Client.Authenticate() at HarmonyHub.Client.Connect(Int32 heartbeatInterval) Dec-07 17:45:08 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with message: Unexpected XML element: message Dec-07 17:45:03 Device Control Device: MeiHarmonyHub MeiHarmonyHub Cambridge Audio Amp to PowerOff (1) Dec-07 17:45:03 Event Event Trigger "Sonos Sonos Family Off"
and one this morning:Dec-07 09:29:09 Device Control Device: MeiHarmonyHub MeiHarmonyHub Cambridge Audio Amp to InputD2 (16) Dec-07 09:29:09 Event Event Trigger "Sonos Sonos Family On" Dec-07 09:28:46 Event Event Trigger "Messaging New Event - 1" Dec-07 09:28:35 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with stack trace: at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at HarmonyHub.StreamParser.ReadRootElement() at HarmonyHub.StreamParser..ctor(Stream stream, Boolean leaveOpen) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval) Dec-07 09:28:35 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with message: There are multiple root elements. Line 2, position 2.
Comment
-
Originally posted by GTI_SI View PostHi,
can't replicate it at will but I am seeing errors still. Interestingly I have not yet had to restart the PI manually since upgrading but it does appear to have bounced itself at 17:45
Dec-07 17:46:11 Starting Plug-In Plugin MeiHarmonyHub started successfully in 287 milliseconds Dec-07 17:46:10 Starting Plug-In Initializing plugin MeiHarmonyHub ... Dec-07 17:46:10 Starting Plug-In MeiHarmonyHub loaded in 15040 milliseconds Dec-07 17:45:55 Info Plugin MeiHarmonyHub has connected. IP:127.0.0.1:63569 Dec-07 17:45:55 Warning I/O interface MeiHarmonyHub is down, executable is not running, restarting ... Dec-07 17:45:40 Info Plugin MeiHarmonyHub with instance: has disconnected Dec-07 17:45:30 Event Event Trigger "Messaging New Event - 1" Dec-07 17:45:30 Event Event Trigger "Harmony Family Multimedia" Dec-07 17:45:08 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with stack trace: at HarmonyHub.StreamParser.NextElement(String[] expected) at HarmonyHub.Client.GetSessionToken(String ip, String username, String password, Boolean bypassLogitech) at HarmonyHub.Client.Authenticate() at HarmonyHub.Client.Connect(Int32 heartbeatInterval) Dec-07 17:45:08 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with message: Unexpected XML element: message Dec-07 17:45:03 Device Control Device: MeiHarmonyHub MeiHarmonyHub Cambridge Audio Amp to PowerOff (1) Dec-07 17:45:03 Event Event Trigger "Sonos Sonos Family Off"
and one this morning:Dec-07 09:29:09 Device Control Device: MeiHarmonyHub MeiHarmonyHub Cambridge Audio Amp to InputD2 (16) Dec-07 09:29:09 Event Event Trigger "Sonos Sonos Family On" Dec-07 09:28:46 Event Event Trigger "Messaging New Event - 1" Dec-07 09:28:35 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with stack trace: at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at HarmonyHub.StreamParser.ReadRootElement() at HarmonyHub.StreamParser..ctor(Stream stream, Boolean leaveOpen) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval) Dec-07 09:28:35 MeiHarmonyHub: Error The Connection to Hub with ID 45b9a33d-e33c-4882-35b2-606200eaaff4 failed with message: There are multiple root elements. Line 2, position 2.
I am wondering.. at 17:45:55 did you disconnect the plugin or did it crash? that appears to be a crash, but I want to double check if perhaps you stopped the plugin manually.
Comment
-
Originally posted by GTI_SI View PostHi,
you are correct I did not manually stop the plug in.
Happy to help, publish the beta and I'll update it ASAP.
Simon
Comment
Comment