Announcement

Collapse
No announcement yet.

System.Net.WebException:request was aborted:Could not create SSL/TLS secure channel

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

    System.Net.WebException:request was aborted:Could not create SSL/TLS secure channel

    I realized that my window-mounted air conditioner (not controlled by the Nest) has been running non-stop all day. Homeseer reports my Nest temp as 78 but the Nest iOS app and the dial on the wall read 74. Turned on HS Nest debug logging and I'm getting this error every 5 seconds. Rebooted Homeseer and no change.

    DEBUG System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsync Result ar) --- End of inner exception stack trace --- at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) at FirebaseSharp.Firebase.d__16.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task`1.get_Result() at NestSharp.NestClient.StartMonitoringData() ---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsync Result ar) --- End of inner exception stack trace --- at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) at FirebaseSharp.Firebase.d__16.MoveNext()<---
    Manually set it to 74 so my air would turn off

    Any idea what's happening?

    #2
    When I enter the URL & params listed in purple in the log into a browser, I'm getting a long JSON response with the correct data/info, but Homeseer still isn't updating it's temp and my log is still full of that error message every 5 seconds!

    DEBUG Method: GET, RequestUri: 'https://developer-api.nest.com/.json?auth=c.<long_id_snipped_here>', Version: 1.1, Content: , Headers: { Accept: text/event-stream }
    {
    • devices: {
      • thermostats: {
        • gi6tL1If6GiLMV6av789lA_VumSUMP-v: {
          • humidity: 40,
          • locale: "en-US",
          • temperature_scale: "F",
          • is_using_emergency_heat: false,
          • has_fan: true,
          • software_version: "6.2-27",
          • has_leaf: true,
          • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGqA1DwGeRj6A" ,
          • device_id: "gi6tL1If6GiLMV6av789lA_VumSUMP-v",
          • name: "Living Room",
          • can_heat: true,
          • can_cool: true,
          • target_temperature_c: 23,
          • target_temperature_f: 74,
          • target_temperature_high_c: 24,
          • target_temperature_high_f: 75,
          • target_temperature_low_c: 20,
          • target_temperature_low_f: 68,
          • ambient_temperature_c: 22.5,
          • ambient_temperature_f: 73,
          • away_temperature_high_c: 24,
          • away_temperature_high_f: 76,
          • away_temperature_low_c: 16.5,
          • away_temperature_low_f: 62,
          • eco_temperature_high_c: 24,
          • eco_temperature_high_f: 76,
          • eco_temperature_low_c: 16.5,
          • eco_temperature_low_f: 62,
          • is_locked: false,
          • locked_temp_min_c: 20,
          • locked_temp_min_f: 68,
          • locked_temp_max_c: 22,
          • locked_temp_max_f: 72,
          • sunlight_correction_active: false,
          • sunlight_correction_enabled: true,
          • structure_id: "-OTn6qFPKiD75w-QzJKFwtFIIZ7WJ8A3FHO0KEsfMZjoVBWW2OueFQ",
          • fan_timer_active: false,
          • fan_timer_timeout: "1970-01-01T00:00:00.000Z",
          • fan_timer_duration: 15,
          • previous_hvac_mode: "",
          • hvac_mode: "off",
          • time_to_target: "~0",
          • time_to_target_training: "ready",
          • where_name: "Living Room",
          • label: "",
          • name_long: "Living Room Thermostat",
          • is_online: true,
          • last_connection: "2022-08-03T10:34:18.388Z",
          • hvac_state: "off"
          }
        }
      },
    • structures: {
      • -OTn6qFPKiD75w-QzJKFwtFIIZ7WJ8A3FHO0KEsfMZjoVBWW2OueFQ: {
        • name: "<my street>",
        • country_code: "US",
        • time_zone: "America/<my city>",
        • away: "home",
        • thermostats: [
          • "gi6tL1If6GiLMV6av789lA_VumSUMP-v"
          ],
        • structure_id: "-OTn6qFPKiD75w-QzJKFwtFIIZ7WJ8A3FHO0KEsfMZjoVBWW2OueFQ",
        • wheres: {
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGqA1DwGeRj6A: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGqA1DwGeRj6A" ,
            • name: "Living Room"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGp8x7lb5eAZA: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGp8x7lb5eAZA" ,
            • name: "Master Bedroom"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTEB5E9EV7d93w: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTEB5E9EV7d93w" ,
            • name: "Front Yard"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTFP3uSH6epqyw: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTFP3uSH6epqyw" ,
            • name: "Basement"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTFsTZUOmdSi_g: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTFsTZUOmdSi_g" ,
            • name: "Dining Room"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTHd6V_0CxFjuQ: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTHd6V_0CxFjuQ" ,
            • name: "Back Door"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTEZUqMqRwg9hA: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTEZUqMqRwg9hA" ,
            • name: "Deck"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGEY2KDrCGVSQ: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGEY2KDrCGVSQ" ,
            • name: "Family Room"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTE3y9MRdwpicA: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTE3y9MRdwpicA" ,
            • name: "Hallway"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTG9A7cHHQwbjw: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTG9A7cHHQwbjw" ,
            • name: "Downstairs"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTHqQGf0TJGeMA: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTHqQGf0TJGeMA" ,
            • name: "Driveway"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTEtu3v5WLcEYA: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTEtu3v5WLcEYA" ,
            • name: "Bathroom"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGFfwxFGjK0Wg: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGFfwxFGjK0Wg" ,
            • name: "Side Door"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTEmTjvca91Q9A: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTEmTjvca91Q9A" ,
            • name: "Upstairs"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTHmMVMfIExGOw: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTHmMVMfIExGOw" ,
            • name: "Shed"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTFwQPsds-gMMg: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTFwQPsds-gMMg",
            • name: "Garage"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGgoDbPcAiiOw: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGgoDbPcAiiOw" ,
            • name: "Kitchen"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTEQbYDGG26IUQ: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTEQbYDGG26IUQ" ,
            • name: "Backyard"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGSJkjqFCpQxg: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGSJkjqFCpQxg" ,
            • name: "Front Door"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTFcdiDipAgTDA: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTFcdiDipAgTDA" ,
            • name: "Guest House"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTE2QFAGvJRsrA: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTE2QFAGvJRsrA" ,
            • name: "Den"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTHBlgeGDkyHZA: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTHBlgeGDkyHZA" ,
            • name: "Office"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTE01lWQ3Xg3Pw: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTE01lWQ3Xg3Pw" ,
            • name: "Attic"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTFmAHn8c7YyOQ: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTFmAHn8c7YyOQ" ,
            • name: "Outside"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTESyIBY7nvpeg: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTESyIBY7nvpeg" ,
            • name: "Entryway"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTHDWahECEab0A: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTHDWahECEab0A" ,
            • name: "Bedroom"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTF7TF-AvlFYWQ: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTF7TF-AvlFYWQ",
            • name: "Patio"
            },
          • e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGh8lvkqT2xlQ: {
            • where_id: "e4FzI0k3ounJK98jBApsiD3MQnKhHOEzrxhFivj_GTGh8lvkqT2xlQ" ,
            • name: "Guest Room"
            }
          }
        }
      },
    • metadata: {
      • access_token: "c.<snipped>",
      • client_version: 5,
      • user_id: "z.1.1.<snipped>="
      }
    }

    Comment


      #3
      If I migrate my Nest account to Google, is there an iOS app that could report its temperature to Apple Shortcuts or IFTTT or some other home automation protocol so I can use that to then manually set my Homeseer thermostat device?

      Comment


        #4
        Could not create SSL/TLS secure channel
        Is your HS system running on Windows or Linux? What version of .NET or mono?

        Comment


          #5
          HS3 Pro Edition 3.0.0.548 (Windows)
          Microsoft Windows 10 Pro - Work Station
          10.0.19041 Service Pack: 0.0

          .NET v4.8.04084

          Comment


            #6
            As a work around, I created a scraper using Jon00's Data Scraper plugin to hit the URL from your Nest log entry every minute and grab the ambient temperature into a HS virtual device. I then use your Easy Trigger plugin to set the Nest thermostat device's value to the virtual device's value. My window-mounted AC is back, baby! Time to hit Starbucks for some bacon egg bites, catch the morning news and go to bed.

            Will have to repeat to get the Humidity and home/away status, but that can wait. Too hot to sleep without AC and it'd get too cold if I just let it run steady all night (day, as it were)

            Hope you can figure out what happened and fix it, Spud!

            Comment


              #7
              I have the same issue. It started last night sometime. I'm running the latest HS4 on a Windows 10 Pro PC that is fully updated:

              DEBUG System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsync Result ar) --- End of inner exception stack trace --- at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) at FirebaseSharp.Firebase.d__16.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task`1.get_Result() at NestSharp.NestClient.StartMonitoringData() ---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsync Result ar) --- End of inner exception stack trace --- at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) at FirebaseSharp.Firebase.d__16.MoveNext()<---

              Comment


                #8
                Same thing here - running HS3 latest on Windows 10. First error appeared in my log as of 18:27 EST today August 3. House didn't switch out of Eco mode when people got home and I looked through the logs and saw these error messages.

                DEBUG System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsync Result ar) --- End of inner exception stack trace --- at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) at FirebaseSharp.Firebase.d__16.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task`1.get_Result() at NestSharp.NestClient.StartMonitoringData() ---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsync Result ar) --- End of inner exception stack trace --- at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) at FirebaseSharp.Firebase.d__16.MoveNext()<---

                Comment


                  #9
                  I have the same issue - any help is appreciated

                  Comment


                    #10
                    Might be time to buy those Ecobee thermostats. These babies look pretty but they have been challenging. Would be nice to know spud if this is the death knell or just a hiccup.

                    Comment


                      #11
                      I think you are right - time to fire -terminate Nest - I would like a confirmation since if I go to the firebase URL directly it seems to be functional
                      Your help is appreciated Spud - I am running Windows with latest HS4 4.2.14.0 - Thanks

                      Comment


                        #12
                        Add me to the list....I have 3 Nest thermostats, all worked fine yesterday afternoon. This morning I can't control any of them.

                        Log message: ERROR Cannot find thermostat gi6tL1If6GhrW5UjHHPB2w_VumSUMP-v

                        Just looking for confirmation that this is the end of the Nest interface.

                        HS3 Pro Edition 3.0.0.548 (Windows)

                        Comment


                          #13
                          I have just released a beta version with a fix for this SSL/TLS error, so please install version 3.0.0.35 and test.
                          Thanks

                          Comment


                            #14
                            Just installed - ran a quick test and no more errors. What was wrong? Thanks.

                            Comment


                              #15
                              My thermostats are back! I have full control of mode and temperature.

                              THANK YOU!!!

                              Comment

                              Working...
                              X