Announcement

Collapse
No announcement yet.

Error getting response stream (ReadDoneAsync2)

Collapse
This topic is closed.
X
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 4.2.19.5
    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
    Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

    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 4.2.19.5
        Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
        Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
        Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

        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 4.2.19.5
            Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
            Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
            Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

            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 4.2.19.5
                Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                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 4.2.19.5
                    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                    Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                    Comment


                      #11
                      is your hub square or rectangular?
                      Mark

                      HS3 Pro 4.2.19.5
                      Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                      Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                      Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                      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 4.2.19.5
                        Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                        Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                        Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                        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 4.2.19.5
                              Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                              Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                              Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                              Comment

                              Working...
                              X