Announcement

Collapse
No announcement yet.

Fighting ghosts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fighting ghosts

    Randy;

    I do not think the problems I am having in this post are directly related to this plug-in, but when the problem occurs, I get literally thousands of entries in the log about non reporting devices and reconnection attempts. Below is a snippet from the log showing OWServer reconnect attempts:

    Code:
    2017-07-13 23:30:57	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:57	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:57	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:53	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:53	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:53	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:49	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:49	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:49	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:45	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:45	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:45	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:41	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:41	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:41	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:37	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:37	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:37	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:33	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:33	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:33	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:29	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:29	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:29	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:25	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:25	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:25	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:21	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:21	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:21	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:16	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:16	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:16	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:12	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:12	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:12	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:08	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:08	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:08	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:04	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:04	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:04	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:00	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:00	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:30:00	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:56	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:56	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:56	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:52	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:52	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:52	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:48	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:48	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:48	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:44	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:44	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:44	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:40	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:40	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:40	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:36	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:36	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:36	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:31	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:31	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:31	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:27	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:27	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:27	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:23	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:23	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:23	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:19	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:19	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:19	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:15	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:15	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:15	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:11	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:11	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:11	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:07	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:07	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:07	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:03	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:03	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:29:03	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:59	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:59	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:59	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:55	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:55	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:55	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:51	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:51	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:51	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:47	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:47	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:47	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    2017-07-13 23:28:42	Error	The OWServer connection failed due to an error: Unable to connect to the remote server
    While I believe the plug-in hammering on reconnect attempts is the result of another failure, I can't help but wonder if the plug-in is a little relentless in trying to re-establish a connection. Do you think it might be an option to reduce the frequency of reconnect attempts, especially when all 3 servers lose their connections?

    I may be barking up the wrong tree, but I am trying to resolve some really unusual behavior that began yesterday morning. Each of the 4 times HomeSeer has restarted is preceded by errors like above. When it restarted this morning at 5:46, these errors had been going on for about 6 hours, starting yesterday evening at about 11:30. There were well over 10,000 log entries just for OWServer reconnection attempts.

    I also welcome suggestions as to how I might dig deeper to find out what is consuming so many TCPIP connections.
    HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

    #2
    Hi Randy,

    Wow, this is one of those "should never happen" types of errors. It appears the EDS OWServer discovery process is returning multiple servers and is adding them to the array. Can you check the plug-ins status web page to see what the count is for OWServer?

    Regards,
    Ultrajones
    Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

    Comment


      #3
      Hi Randy,

      Please search your logs for the following string:

      "Found OWServer"

      This will tell us if any rogue OWServers were discovered on your network.

      Regards,
      Ultrajones
      Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

      Comment


        #4
        Randy,

        Please load the Ultra1Wire3 HSPI version I just uploaded to the HomeSeer updater. This version will ensure resources are properly released if the remote endpoint is not responding.

        Regards,
        Ultrajones
        Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

        Comment


          #5
          I have OWServer discovery disabled.
          There are only the three actual servers in the configuration.
          A log search for Found OWServer returned 0 results since March. In March I reconfigured the IP addresses of the servers with discovery enabled. That is also when I disabled discovery.
          HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

          Comment


            #6
            This doesn't make any sense then. Connections at the rate your logs indicate is not possible (even though your logs are indicating it is). At a minimum, there should be a 60 second delay between *each* connection attempt.

            Please update to the latest version of the Ultra1Wire3 plug-in which should fix the issue releasing resources when a connection fails.

            Regards,
            Ultrajones
            Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

            Comment


              #7
              Originally posted by Ultrajones View Post
              This doesn't make any sense then. Connections at the rate your logs indicate is not possible (even though your logs are indicating it is). At a minimum, there should be a 60 second delay between *each* connection attempt.

              Please update to the latest version of the Ultra1Wire3 plug-in which should fix the issue releasing resources when a connection fails.

              Regards,
              Ultrajones
              I'll try it. I am actually thinking another plug-in triggered the bad behavior in yours. In the post I linked at the top the event viewer shows that something goes wrong opening too many TCP/IP connections. Could it be that your plug-in could act this way if it was unable to open a connection out of the Windows 10 machine. Disabling the other plug-in yesterday stopped the errors. That hat occurred the previous two nights.
              HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

              Comment

              Working...
              X