www.homeseer.com    
 

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Click Here for List of Author Forums > sirmeili Plug-Ins > MeiHarmonyHub (3P)

MeiHarmonyHub (3P) Discussion of MeiHarmonyHub plug-in

Reply
 
Thread Tools Display Modes
  #161  
Old March 19th, 2018, 11:51 AM
sirmeili sirmeili is offline
Super Seer
 
Join Date: Apr 2015
Location: Sebring, FL
Posts: 1,807
Quote:
Originally Posted by rprade View Post
It happened again this morning with 750 errors in 2 minutes, here is a sample
Code:
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unrecoverable stream error: resource-constraint
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at HarmonyHub.StreamParser.NextElement(String[] expected) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding) at System.Xml.XmlTextReaderImpl.FinishInitStream() at System.Xml.XmlTextReaderImpl..ctor(Stream stream, Byte[] bytes, Int32 byteCount, XmlReaderSettings settings, Uri baseUri, String baseUriStr, XmlParserContext context, Boolean closeInput) at System.Xml.XmlReaderSettings.CreateReader(Stream input, Uri baseUri, String baseUriString, XmlParserContext inputContext) at System.Xml.XmlReader.Create(Stream input, XmlReaderSettings settings, String baseUri) at HarmonyHub.StreamParser..ctor(Stream stream, Boolean leaveOpen) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding) at System.Xml.XmlTextReaderImpl.FinishInitStream() at System.Xml.XmlTextReaderImpl..ctor(Stream stream, Byte[] bytes, Int32 byteCount, XmlReaderSettings settings, Uri baseUri, String baseUriStr, XmlParserContext context, Boolean closeInput) at System.Xml.XmlReaderSettings.CreateReader(Stream input, Uri baseUri, String baseUriString, XmlParserContext inputContext) at System.Xml.XmlReader.Create(Stream input, XmlReaderSettings settings, String baseUri) at HarmonyHub.StreamParser..ctor(Stream stream, Boolean leaveOpen) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unrecoverable stream error: resource-constraint
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at HarmonyHub.StreamParser.NextElement(String[] expected) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unrecoverable stream error: resource-constraint
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at HarmonyHub.StreamParser.NextElement(String[] expected) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at HarmonyHub.Client.Send(String xml) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at HarmonyHub.Client.Send(String xml) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at HarmonyHub.Client.Send(String xml) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at HarmonyHub.Client.Send(String xml) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at HarmonyHub.Client.Send(String xml) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at HarmonyHub.Client.Send(String xml) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at HarmonyHub.Client.Send(String xml) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at HarmonyHub.Client.Send(String xml) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding) at System.Xml.XmlTextReaderImpl.FinishInitStream() at System.Xml.XmlTextReaderImpl..ctor(Stream stream, Byte[] bytes, Int32 byteCount, XmlReaderSettings settings, Uri baseUri, String baseUriStr, XmlParserContext context, Boolean closeInput) at System.Xml.XmlReaderSettings.CreateReader(Stream input, Uri baseUri, String baseUriString, XmlParserContext inputContext) at System.Xml.XmlReader.Create(Stream input, XmlReaderSettings settings, String baseUri) at HarmonyHub.StreamParser..ctor(Stream stream, Boolean leaveOpen) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding) at System.Xml.XmlTextReaderImpl.FinishInitStream() at System.Xml.XmlTextReaderImpl..ctor(Stream stream, Byte[] bytes, Int32 byteCount, XmlReaderSettings settings, Uri baseUri, String baseUriStr, XmlParserContext context, Boolean closeInput) at System.Xml.XmlReaderSettings.CreateReader(Stream input, Uri baseUri, String baseUriString, XmlParserContext inputContext) at System.Xml.XmlReader.Create(Stream input, XmlReaderSettings settings, String baseUri) at HarmonyHub.StreamParser..ctor(Stream stream, Boolean leaveOpen) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding) at System.Xml.XmlTextReaderImpl.FinishInitStream() at System.Xml.XmlTextReaderImpl..ctor(Stream stream, Byte[] bytes, Int32 byteCount, XmlReaderSettings settings, Uri baseUri, String baseUriStr, XmlParserContext context, Boolean closeInput) at System.Xml.XmlReaderSettings.CreateReader(Stream input, Uri baseUri, String baseUriString, XmlParserContext inputContext) at System.Xml.XmlReader.Create(Stream input, XmlReaderSettings settings, String baseUri) at HarmonyHub.StreamParser..ctor(Stream stream, Boolean leaveOpen) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding) at System.Xml.XmlTextReaderImpl.FinishInitStream() at System.Xml.XmlTextReaderImpl..ctor(Stream stream, Byte[] bytes, Int32 byteCount, XmlReaderSettings settings, Uri baseUri, String baseUriStr, XmlParserContext context, Boolean closeInput) at System.Xml.XmlReaderSettings.CreateReader(Stream input, Uri baseUri, String baseUriString, XmlParserContext inputContext) at System.Xml.XmlReader.Create(Stream input, XmlReaderSettings settings, String baseUri) at HarmonyHub.StreamParser..ctor(Stream stream, Boolean leaveOpen) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding) at System.Xml.XmlTextReaderImpl.FinishInitStream() at System.Xml.XmlTextReaderImpl..ctor(Stream stream, Byte[] bytes, Int32 byteCount, XmlReaderSettings settings, Uri baseUri, String baseUriStr, XmlParserContext context, Boolean closeInput) at System.Xml.XmlReaderSettings.CreateReader(Stream input, Uri baseUri, String baseUriString, XmlParserContext inputContext) at System.Xml.XmlReader.Create(Stream input, XmlReaderSettings settings, String baseUri) at HarmonyHub.StreamParser..ctor(Stream stream, Boolean leaveOpen) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding) at System.Xml.XmlTextReaderImpl.FinishInitStream() at System.Xml.XmlTextReaderImpl..ctor(Stream stream, Byte[] bytes, Int32 byteCount, XmlReaderSettings settings, Uri baseUri, String baseUriStr, XmlParserContext context, Boolean closeInput) at System.Xml.XmlReaderSettings.CreateReader(Stream input, Uri baseUri, String baseUriString, XmlParserContext inputContext) at System.Xml.XmlReader.Create(Stream input, XmlReaderSettings settings, String baseUri) at HarmonyHub.StreamParser..ctor(Stream stream, Boolean leaveOpen) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding) at System.Xml.XmlTextReaderImpl.FinishInitStream() at System.Xml.XmlTextReaderImpl..ctor(Stream stream, Byte[] bytes, Int32 byteCount, XmlReaderSettings settings, Uri baseUri, String baseUriStr, XmlParserContext context, Boolean closeInput) at System.Xml.XmlReaderSettings.CreateReader(Stream input, Uri baseUri, String baseUriString, XmlParserContext inputContext) at System.Xml.XmlReader.Create(Stream input, XmlReaderSettings settings, String baseUri) at HarmonyHub.StreamParser..ctor(Stream stream, Boolean leaveOpen) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding) at System.Xml.XmlTextReaderImpl.FinishInitStream() at System.Xml.XmlTextReaderImpl..ctor(Stream stream, Byte[] bytes, Int32 byteCount, XmlReaderSettings settings, Uri baseUri, String baseUriStr, XmlParserContext context, Boolean closeInput) at System.Xml.XmlReaderSettings.CreateReader(Stream input, Uri baseUri, String baseUriString, XmlParserContext inputContext) at System.Xml.XmlReader.Create(Stream input, XmlReaderSettings settings, String baseUri) at HarmonyHub.StreamParser..ctor(Stream stream, Boolean leaveOpen) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at HarmonyHub.Client.Send(String xml) at HarmonyHub.Client.OpenStream(Int32 heartbeatInterval) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unrecoverable stream error: resource-constraint
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
Mar-19 8:27:20 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
They began at 8:26 end ended at 8:27 this morning. I didn't change anything and there are no events that would have run at that time. These errors all seem to be about the same hub that was giving errors a week or so ago. I did see a handful of similar errors last Thursday on a different hub, but they did not persist. I did not have debug logging enabled. It is now. I have disabled the plug-in for now. I will enable it again this afternoon and keep an eye on it.
I'm going to look into this more closely, but it appears that the hub is saying it has resource constraints. I'm going to try and see if I can reproduce it on my side, but that might be hard. It may mean I need to add more debugging so I can detect it and handle it better.

That said, because the hub says it is limited on resources, it may just mean I need to wait a bit longer before a reconnect in this scenario. I will double check my code to make sure I'm not overloading the hub, but I shouldn't be as unless the plugin is actively used, the only activity is the heartbeat sent every 30 seconds to keep the connection alive.

When you do the debugging, can you also send me screenshots of your settings (just the main settings should suffice).
__________________
Thanks,
Frank
Reply With Quote
  #162  
Old March 19th, 2018, 12:01 PM
rprade's Avatar
rprade rprade is offline
OverSeer
 
Join Date: Jan 2014
Location: Colorado
Posts: 6,959
Quote:
Originally Posted by sirmeili View Post
I'm going to look into this more closely, but it appears that the hub is saying it has resource constraints. I'm going to try and see if I can reproduce it on my side, but that might be hard. It may mean I need to add more debugging so I can detect it and handle it better.

That said, because the hub says it is limited on resources, it may just mean I need to wait a bit longer before a reconnect in this scenario. I will double check my code to make sure I'm not overloading the hub, but I shouldn't be as unless the plugin is actively used, the only activity is the heartbeat sent every 30 seconds to keep the connection alive.

When you do the debugging, can you also send me screenshots of your settings (just the main settings should suffice).
I have enabled the plug-in with debug logging enabled. So far there are no errors. The screenshot is attached.
Attached Images
 
__________________
Randy Prade
Aurora, CO
Prades.net

PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino
Reply With Quote
  #163  
Old March 19th, 2018, 01:36 PM
rprade's Avatar
rprade rprade is offline
OverSeer
 
Join Date: Jan 2014
Location: Colorado
Posts: 6,959
There were HS log errors at 11:19AM. Debug log emailed.
__________________
Randy Prade
Aurora, CO
Prades.net

PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino
Reply With Quote
  #164  
Old March 19th, 2018, 03:11 PM
mwolter mwolter is offline
Seer Deluxe
 
Join Date: Feb 2017
Location: San Diego
Posts: 261
FYI, for those interested in using this plugin on the SEL, I’ve had it up and running for a little less than a month. Early on it had some issues but I’ve tried to stay up on the updates and for the past few weeks it’s been very reliable.


Sent from my iPhone using Tapatalk Pro
Reply With Quote
  #165  
Old March 19th, 2018, 04:11 PM
rprade's Avatar
rprade rprade is offline
OverSeer
 
Join Date: Jan 2014
Location: Colorado
Posts: 6,959
500 more errors at 2:07PM. I have sent the debug log by email. I have disabled the plug-in again.
__________________
Randy Prade
Aurora, CO
Prades.net

PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino
Reply With Quote
  #166  
Old March 20th, 2018, 06:27 PM
sirmeili sirmeili is offline
Super Seer
 
Join Date: Apr 2015
Location: Sebring, FL
Posts: 1,807
Quote:
Originally Posted by mterry63 View Post
I'm confident wireless is rock solid. The hub in question is 5 feet from a ubiquity AP and Homeseer is hard wired.


Sent from my Pixel 2 using Tapatalk
I lost internet tonight by happen chance and the plug-in never stopped working. I'll still try and reproduce the issue, but it seems that internet loss is not the only factor here.

Sent from my Pixel 2 XL using Tapatalk
__________________
Thanks,
Frank
Reply With Quote
  #167  
Old March 20th, 2018, 06:27 PM
sirmeili sirmeili is offline
Super Seer
 
Join Date: Apr 2015
Location: Sebring, FL
Posts: 1,807
Quote:
Originally Posted by rprade View Post
500 more errors at 2:07PM. I have sent the debug log by email. I have disabled the plug-in again.
I've been dealing with a sick kiddo, but I haven't forgotten about this, Randy. Thanks for the logs. They should help quite a bit.

Sent from my Pixel 2 XL using Tapatalk
__________________
Thanks,
Frank
Reply With Quote
  #168  
Old March 20th, 2018, 10:39 PM
rprade's Avatar
rprade rprade is offline
OverSeer
 
Join Date: Jan 2014
Location: Colorado
Posts: 6,959
Quote:
Originally Posted by sirmeili View Post
I've been dealing with a sick kiddo, but I haven't forgotten about this, Randy. Thanks for the logs. They should help quite a bit.

Sent from my Pixel 2 XL using Tapatalk
No problem. Hope they do help.
__________________
Randy Prade
Aurora, CO
Prades.net

PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino
Reply With Quote
  #169  
Old March 21st, 2018, 09:30 PM
sirmeili sirmeili is offline
Super Seer
 
Join Date: Apr 2015
Location: Sebring, FL
Posts: 1,807
Quote:
Originally Posted by rprade View Post
No problem. Hope they do help.
Randy,

Thanks for the logs, it did expose a bug which I will be trying to fix, but it should be very rare bug. I think the reason it is happening to you is due to the following
  • The hub that is failing has a lot of activities and because of that when I grab the config, it is "big"
  • The timeout for requests, which includes hearbeats is only 10 seconds (granted, that is the recommended value I default it to).
  • You have the polling set to every 5 minutes.

I don't think the first 2 alone will cause much of an issue on their own. However, coupled with the third one I think that's causing a lot of traffic on the hub. The polling for new Devices and new Activities should probably be set to 1 day. I have considered changing this setting to be a scheduler instead of a polling (time of day instead of how often) so that someone does't inadvertently set it too low.

My suggestion would be to the polling to 1 day. You can also increase the timeout to a bigger value. I was running it at one point with a 60 second timeout. That is excessively large, but you could try even 15 seconds (remember large configs can take a long time to transfer and could potentially tie up a heartbeat).

Now to the bug. I've seen this a few times when developing, but never on my production machine and I've never been able to accurately reproduce it. What happens is that for some reason the plugin gets caught in a loop where it connects and immediately fails and the process starts over and eventually there are multiple connection attempts at once. In your case, there have been times where you've had up to 3 concurrent connections to the hub (I believe as there are heartbeats going out in groups of 3 within a few seconds just for that hub).

I'm going to try and reproduce this bug and I am going to revisit the code that handles reconnects and uses the timer. Since it's technically connecting and failing, it's not using that setting. I think I'll need to track the last connection time and use that to determine if I can attempt a connect or wait. I will also attempt to track the a new status of "connecting" (internal to the plugin for each hub) so that it can check if it's already connecting and stop if it is.
__________________
Thanks,
Frank
Reply With Quote
  #170  
Old March 21st, 2018, 09:41 PM
rprade's Avatar
rprade rprade is offline
OverSeer
 
Join Date: Jan 2014
Location: Colorado
Posts: 6,959
Quote:
Originally Posted by sirmeili View Post
Randy,

Thanks for the logs, it did expose a bug which I will be trying to fix, but it should be very rare bug. I think the reason it is happening to you is due to the following
  • The hub that is failing has a lot of activities and because of that when I grab the config, it is "big"
  • The timeout for requests, which includes hearbeats is only 10 seconds (granted, that is the recommended value I default it to).
  • You have the polling set to every 5 minutes.

I don't think the first 2 alone will cause much of an issue on their own. However, coupled with the third one I think that's causing a lot of traffic on the hub. The polling for new Devices and new Activities should probably be set to 1 day. I have considered changing this setting to be a scheduler instead of a polling (time of day instead of how often) so that someone does't inadvertently set it too low.

My suggestion would be to the polling to 1 day. You can also increase the timeout to a bigger value. I was running it at one point with a 60 second timeout. That is excessively large, but you could try even 15 seconds (remember large configs can take a long time to transfer and could potentially tie up a heartbeat).

Now to the bug. I've seen this a few times when developing, but never on my production machine and I've never been able to accurately reproduce it. What happens is that for some reason the plugin gets caught in a loop where it connects and immediately fails and the process starts over and eventually there are multiple connection attempts at once. In your case, there have been times where you've had up to 3 concurrent connections to the hub (I believe as there are heartbeats going out in groups of 3 within a few seconds just for that hub).

I'm going to try and reproduce this bug and I am going to revisit the code that handles reconnects and uses the timer. Since it's technically connecting and failing, it's not using that setting. I think I'll need to track the last connection time and use that to determine if I can attempt a connect or wait. I will also attempt to track the a new status of "connecting" (internal to the plugin for each hub) so that it can check if it's already connecting and stop if it is.
I set the hubs to the parameters you suggested and enabled the plug-in. I will let you know.

That hub has a large configuration because the room has 2 displays and several media sources. With two displays, every activity has to be duplicated. With the duplication of activities and the number of sources, there are many activities.
__________________
Randy Prade
Aurora, CO
Prades.net

PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino
Reply With Quote
  #171  
Old March 21st, 2018, 09:53 PM
sirmeili sirmeili is offline
Super Seer
 
Join Date: Apr 2015
Location: Sebring, FL
Posts: 1,807
Quote:
Originally Posted by rprade View Post
I set the hubs to the parameters you suggested and enabled the plug-in. I will let you know.

That hub has a large configuration because the room has 2 displays and several media sources. With two displays, every activity has to be duplicated. With the duplication of activities and the number of sources, there are many activities.
Yeah, I noticed that Sounds like a great setup. The plugin should be able to handle it fine though, so no worries. Either way it exposed a bug which needs to and will be fixed

BTW, this was submitted to HomeSeer tonight and should be approved tomorrow.
__________________
Thanks,
Frank
Reply With Quote
  #172  
Old March 21st, 2018, 11:19 PM
sirmeili sirmeili is offline
Super Seer
 
Join Date: Apr 2015
Location: Sebring, FL
Posts: 1,807
I have a bug fix for when it tries to reconnect twice after a forceful disconnect (when then has it try and reconnect twice or more each time).

I will release this fix tomorrow night as it's getting late and I need to do 2 builds for this release (beta and normal as this fixes a pretty big, however rare, bug).
__________________
Thanks,
Frank
Reply With Quote
  #173  
Old March 22nd, 2018, 11:25 AM
rprade's Avatar
rprade rprade is offline
OverSeer
 
Join Date: Jan 2014
Location: Colorado
Posts: 6,959
I had 4 errors on a different hub yesterday evening when I enabled the plug-in. Since then there have been none.
__________________
Randy Prade
Aurora, CO
Prades.net

PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino
Reply With Quote
  #174  
Old March 22nd, 2018, 11:32 AM
sirmeili sirmeili is offline
Super Seer
 
Join Date: Apr 2015
Location: Sebring, FL
Posts: 1,807
Quote:
Originally Posted by rprade View Post
I had 4 errors on a different hub yesterday evening when I enabled the plug-in. Since then there have been none.
Do you happen to have the errors? Were they just disconnects?
__________________
Thanks,
Frank
Reply With Quote
  #175  
Old March 22nd, 2018, 12:23 PM
rprade's Avatar
rprade rprade is offline
OverSeer
 
Join Date: Jan 2014
Location: Colorado
Posts: 6,959
Quote:
Originally Posted by sirmeili View Post
Do you happen to have the errors? Were they just disconnects?
I changed it to a 15 second retry when I restarted the plug-in. The errors were within a few seconds of my having enabled the plug-in. It is possible it might have been right when I changed the configuration. I have the debug log from yesterday if you want it.

Here they are:

Mar-21 7:40:02 PM MeiHarmonyHub: Error The Conection to Hub with ID 45808793-a8c0-4f91-28df-9ed6306f513e failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.128:5222
Mar-21 7:40:02 PM MeiHarmonyHub: Error The Conection to Hub with ID 45808793-a8c0-4f91-28df-9ed6306f513e failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-21 7:39:50 PM MeiHarmonyHub: Error The Conection to Hub with ID 45808793-a8c0-4f91-28df-9ed6306f513e failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.128:5222
Mar-21 7:39:50 PM MeiHarmonyHub: Error The Conection to Hub with ID 45808793-a8c0-4f91-28df-9ed6306f513e failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
__________________
Randy Prade
Aurora, CO
Prades.net

PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino
Reply With Quote
  #176  
Old March 22nd, 2018, 12:36 PM
sirmeili sirmeili is offline
Super Seer
 
Join Date: Apr 2015
Location: Sebring, FL
Posts: 1,807
Quote:
Originally Posted by rprade View Post
I changed it to a 15 second retry when I restarted the plug-in. The errors were within a few seconds of my having enabled the plug-in. It is possible it might have been right when I changed the configuration. I have the debug log from yesterday if you want it.

Here they are:

Mar-21 7:40:02 PM MeiHarmonyHub: Error The Conection to Hub with ID 45808793-a8c0-4f91-28df-9ed6306f513e failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.128:5222
Mar-21 7:40:02 PM MeiHarmonyHub: Error The Conection to Hub with ID 45808793-a8c0-4f91-28df-9ed6306f513e failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
Mar-21 7:39:50 PM MeiHarmonyHub: Error The Conection to Hub with ID 45808793-a8c0-4f91-28df-9ed6306f513e failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.128:5222
Mar-21 7:39:50 PM MeiHarmonyHub: Error The Conection to Hub with ID 45808793-a8c0-4f91-28df-9ed6306f513e failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect(Int32 heartbeatInterval)
That's jsut saying it couldn't get a response from the hub. AS long as they eventually reconnected, I think you should be good. If it was continuing to happen I might be more concerned.
__________________
Thanks,
Frank
Reply With Quote
  #177  
Old March 22nd, 2018, 01:12 PM
rprade's Avatar
rprade rprade is offline
OverSeer
 
Join Date: Jan 2014
Location: Colorado
Posts: 6,959
Quote:
Originally Posted by sirmeili View Post
That's jsut saying it couldn't get a response from the hub. AS long as they eventually reconnected, I think you should be good. If it was continuing to happen I might be more concerned.
It did reconnect. That hub is also frequently controlled through Echo voice commands (through HomeSeer) and it has not failed to work since I enabled the plug-in.
__________________
Randy Prade
Aurora, CO
Prades.net

PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino
Reply With Quote
  #178  
Old March 23rd, 2018, 07:23 PM
Summerguy's Avatar
Summerguy Summerguy is offline
Seer Deluxe
 
Join Date: Aug 2017
Location: Canada
Posts: 429
paid and installed the version 3.0.2 but got this error when activating :

Registration failed: #xxxx : Error registering license: Version does not match product

tried the process 10 times. Sent an email to homeseer.
Reply With Quote
  #179  
Old March 23rd, 2018, 07:39 PM
rprade's Avatar
rprade rprade is offline
OverSeer
 
Join Date: Jan 2014
Location: Colorado
Posts: 6,959
Quote:
Originally Posted by Summerguy View Post
paid and installed the version 3.0.2 but got this error when activating :

Registration failed: #xxxx : Error registering license: Version does not match product

tried the process 10 times. Sent an email to homeseer.
Same thing here.
__________________
Randy Prade
Aurora, CO
Prades.net

PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino
Reply With Quote
  #180  
Old March 23rd, 2018, 07:43 PM
ServiceXp's Avatar
ServiceXp ServiceXp is offline
Seer Master
 
Join Date: May 2015
Location: USA
Posts: 838
I don't see it in the store yet?
__________________
RJ_Make On YouTube
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Jon00 Harmony Control jon00 Jon00's plugins and scripts 95 July 18th, 2018 01:31 PM
Description: MeiHarmonyHub (Logitech Harmony Hub Monitor and Control sirmeili MeiHarmonyHub (3P) 4 July 5th, 2018 10:44 PM
Feature Requests - MeiHarmonyHub (Logitech Harmony Hub Monitor and Control) sirmeili MeiHarmonyHub (3P) 10 April 12th, 2018 11:41 PM
Release Notes - MeiHarmonyHub (Logitech Harmony Hub Monitor and Control) sirmeili MeiHarmonyHub (3P) 0 February 15th, 2018 11:46 PM
Need a Harmony 900 Control HS3 Solution Sinandgrin HS3 / HS3PRO Discussion 4 March 19th, 2016 06:49 PM


All times are GMT -4. The time now is 08:21 AM.


Copyright HomeSeer Technologies, LLC