Announcement

Collapse
No announcement yet.

NetRemote-hsGirder connection stopped working

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    I spoke to soon!
    It still does have the same problem except not quite as suseptable.
    If I send hsgirder events too close to each other I still get the error.

    Marty

    Comment


      #32
      I have a provided a level 3 debug in hopes of someone understanding what is causing hsgirder to hang:

      6/9/2005 3:16:05 PM~!~hsGirder Debug~!~TriggerHS - Event:125.133.1.100, &hs.runex "SendSprinklerA.txt","main","20~20~11~15~12~10~1~0~1~1~1~1~1 "
      6/9/2005 3:16:05 PM~!~hsGirder Debug~!~TriggerHS - Payload1:125.133.1.100,
      6/9/2005 3:16:05 PM~!~hsGirder Debug~!~Close received from remote: 125.133.1.100(125.133.1.100)
      6/9/2005 3:16:05 PM~!~hsGirder Debug~!~Connection closed by remote: 125.133.1.100
      6/9/2005 3:16:05 PM~!~hsGirder Debug~!~Server socket 1 reset, Curstate= 8
      6/9/2005 3:16:05 PM~!~hsGirder Debug~!~tcp_Server.DataArrival.Socket= 2
      6/9/2005 3:16:05 PM~!~hsGirder Debug~!~tcp_Server (active) Data In(54) -> &hs.runex "SendSprinklerStatus.txt","main","C1"
      close

      6/9/2005 3:16:05 PM~!~hsGirder~!~Girder Event: 125.133.1.100(125.133.1.100): &hs.runex "SendSprinklerStatus.txt","main","C1"
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~TriggerHS - Event:125.133.1.100, &hs.runex "SendSprinklerStatus.txt","main","C1"
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~TriggerHS - Payload1:125.133.1.100,
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Close received from remote: 125.133.1.100(125.133.1.100)
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Connection closed by remote: 125.133.1.100
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Server socket 2 reset, Curstate= 8
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Connect requestid 164 from: 125.133.1.100, Curstate = 2
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Connection Accepted, RequestID= 164, Socket= 3
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~tcp_Server.DataArrival.Socket= 3
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~tcp_Server (idle) Data In(13) -> quintessence

      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Seed Cookie is 36BE
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Connect requestid 1144 from: 125.133.1.100, Curstate = 2
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Connection Accepted, RequestID= 1144, Socket= 4
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~tcp_Server.DataArrival.Socket= 4
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~tcp_Server (idle) Data In(13) -> quintessence

      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Seed Cookie is 3886
      6/9/2005 3:16:06 PM~!~hsGirder Error~!~Error from tcpServer: Error number is 10035
      6/9/2005 3:16:06 PM~!~hsGirder Error~!~Description: Socket is non-blocking and the specified operation will block
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Server socket 0 reset, Curstate= 3
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~tcp_Server.DataArrival.Socket= 3
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~tcp_Server (init) Data In(33) -> 435bde8ad6a960dfaa7cf5d1a149aac8

      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~MD5 digest calculator returned: 435bde8ad6a960dfaa7cf5d1a149aac8
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Connection Accepted
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~tcp_Server.DataArrival.Socket= 4
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~tcp_Server (init) Data In(33) -> d06a3165b6510f3878d8c19eaa616c66

      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~MD5 digest calculator returned: d06a3165b6510f3878d8c19eaa616c66
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Connection Accepted
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~tcp_Server.DataArrival.Socket= 3
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~tcp_Server (active) Data In(50) -> &hs.runex "SendSprinklerS.txt","main","0~0"
      close

      6/9/2005 3:16:06 PM~!~hsGirder~!~Girder Event: 125.133.1.100(125.133.1.100): &hs.runex "SendSprinklerS.txt","main","0~0"
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~TriggerHS - Event:125.133.1.100, &hs.runex "SendSprinklerS.txt","main","0~0"
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~TriggerHS - Payload1:125.133.1.100,
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Close received from remote: 125.133.1.100(125.133.1.100)
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Connection closed by remote: 125.133.1.100
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~Server socket 3 reset, Curstate= 8
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~tcp_Server.DataArrival.Socket= 4
      6/9/2005 3:16:06 PM~!~hsGirder Debug~!~tcp_Server (active) Data In(50) -> &hs.runex "SendSprinklerS.txt","main","0~0"
      close

      6/9/2005 3:16:06 PM~!~hsGirder~!~Girder Event: 125.133.1.100(125.133.1.100): &hs.runex "SendSprinklerS.txt","main","0~0"
      6/9/2005 3:16:07 PM~!~hsGirder Debug~!~TriggerHS - Event:125.133.1.100, &hs.runex "SendSprinklerS.txt","main","0~0"
      6/9/2005 3:16:07 PM~!~hsGirder Debug~!~TriggerHS - Payload1:125.133.1.100,
      6/9/2005 3:16:07 PM~!~hsGirder Debug~!~Close received from remote: 125.133.1.100(125.133.1.100)
      6/9/2005 3:16:07 PM~!~hsGirder Debug~!~Connection closed by remote: 125.133.1.100
      6/9/2005 3:16:07 PM~!~hsGirder Debug~!~Server socket 4 reset, Curstate= 8
      6/9/2005 3:16:07 PM~!~hsGirder Error~!~Error in ResetServer at line 200: Can't unload controls created at design time

      Comment


        #33
        Marty,

        Sorry if I haven't responded right away but I started a new job last week and that's been keeping me very (you wouldn't believe me if I told you, very ) busy. I've looked at the code a couple times so far and I'm trying to play processor to check each lines flow thru the tcp server. The problem starts at the error 10035 and then goes downhilll from that.

        Being it got better, but didnt' go away, after you installed the new Winsock, I have to think it's a winsock issue. But being that others using the winsock arn't setting the same problem (maybe just not reporting it) it has to be in my code somewhere. If there is a background specific sequence that you always see or can devine in there that you can tell me (i.e. I always happens when I have this and I press this when this is happening) that would help a lot.

        I'm still looking at it but so far havn't found anything yet.

        George

        Comment


          #34
          Thanks George.

          I see this as an "abnormal" case and taking steps in my code to avoid the issue. Although it would be nice to see what is causing the crash so the issue is bounded.

          In Meedio (apologize, should have posted in different thread but thought it was the same problem) when I hit a button, it initiates an external program
          launch to invoke ieventc which in turn runs a script in homeseer.

          Simply if I press the button in Meedio too fast, (say 1 sec or less) HSgirder
          seems to get hosed if they recieve these two ieventc request too close to each other. It does not seem to be specific on what scipts I'm calling just
          if the request come to close to each other.

          Let me know what other specifics you need.

          Marty

          Comment

          Working...
          X