Announcement

Collapse
No announcement yet.

Error getting response stream (ReadDoneAsync2)

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

    Error getting response stream (ReadDoneAsync2)

    Regularly I get an error on ReadDoneAsync2. Usualy this happens once or twice a day.


    ***:Error in Hub.GetResponseCallback: Error getting response stream (ReadDoneAsync2): ReceiveFailure -- Details System.Net.WebException: Error getting response stream (ReadDoneAsync2): ReceiveFailure at System.Net.WebResponseStream.InitReadAsync (System.Threading.CancellationToken cancellationToken) [0x00107] in :0 at System.Net.WebOperation.Run () [0x001f2] in :0 at System.Net.WebCompletionSource`1[T].WaitForCompletion () [0x000b1] in :0 at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x00118] in :0 at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00025] in :0 at Insteon.Support.Hub.SocketPortClass.GetResponseCallback (System.IAsyncResult AsynchronousResult) [0x0000e] in :0

    #2
    what plugin version are you running? is this filling up your config folder with "insteon error report.log" files? please check
    Mark

    HS3 Pro 3.0.0.534
    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
    Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

    Comment


      #3
      I am using version 3.0.7.19. Part of the created "insteon error report.log" is attached.
      Attached Files

      Comment


        #4
        Are you using x10 with the hub?

        try increasing the hub buffer interval on the plugin Advanced tab from 2000 to 3000
        Mark

        HS3 Pro 3.0.0.534
        Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
        Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
        Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

        Comment


          #5
          Yes I am using X10. I am in the process of phasing out the X10 equipment.

          Where can I find the hub buffer interval? Advanced setting gives me the following options:

          System Settings
          Failed Poll Threshold Process ACKs
          Failed Tx Threshold Disable Port Recovery
          Debounce Time (msec) Enable Value Set Trigger
          PLM Settings
          Port Driver
          Clear Delay (msecs)
          Settle Delay (msecs)
          Internal Retries

          Comment


            #6
            the plugin isn't recognizing your hub as a hub. it must have a different device type. can you post the hs start log that shows the plugin contacting the hub. i need to fix this
            Mark

            HS3 Pro 3.0.0.534
            Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
            Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
            Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

            Comment


              #7
              Hi mark,

              Here is the startup log. Can this be an European version number problem?
              Attached Files

              Comment


                #8
                thanks for that. however it didn't have what i needed. please enable detailed logging in the plugin, and then stop and restart the plugin.

                I'm looking for the second log entry, the bolded hex bytes indicate the hub type
                May-01 10:32:59 AM Insteon Hub contacted on 192.168.1.83:25105 with an Insteon address of 34.27.85 and firmware version A5
                May-01 10:32:59 AM Insteon ..Got Interface Response 02 60 34 27 85 03 33 A5 06
                Mark

                HS3 Pro 3.0.0.534
                Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
                Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
                Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

                Comment


                  #9
                  May-01 17:27:39 Insteon PLM contacted on 192.168.1.222:25105 with an Insteon address of 1E.C0.E5 and firmware version 9C
                  May-01 17:27:39 Insteon Sending http://192.168.1.222:25105/1?XB=M=1
                  May-01 17:27:39 Insteon ..Got Interface Response 02 60 1E C0 E5 03 2E 9C 06
                  I found this in the log file

                  Comment


                    #10
                    perfect. let me look at the code and see what i need to do
                    Mark

                    HS3 Pro 3.0.0.534
                    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
                    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
                    Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

                    Comment


                      #11
                      is your hub square or rectangular?
                      Mark

                      HS3 Pro 3.0.0.534
                      Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
                      Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
                      Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

                      Comment


                        #12
                        nevermind on the shape. i posted 3.0.7.22 in the beta section of the Updater. this should give you access to the Advanced option i mentioned above.
                        Mark

                        HS3 Pro 3.0.0.534
                        Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
                        Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
                        Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

                        Comment


                          #13
                          I installed 3.0.7.22 on the rectangular hub and a hub is now detected. I changed the hub buffer interval to 3000. Let's see what happens.

                          Comment


                            #14
                            Since the last change the same error occurred twice. One time just a single error, another time three times within a minute.
                            May-05 17:37:10 Insteon Error getting response stream (ReadDoneAsync2): ReceiveFailure

                            Comment


                              #15
                              can i ask if the plugin stops working? or is just the errors that are of concern?
                              Mark

                              HS3 Pro 3.0.0.534
                              Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
                              Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
                              Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

                              Comment

                              Working...
                              X