Announcement

Collapse
No announcement yet.

"Ecobee Authorization" Not Working

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

  • "Ecobee Authorization" Not Working

    Setting up a new Ecobee and using this plugin for the first time, I'm trying to authorize the thermostat and the button is not responding (ie: click the button and nothing happens).

    I set the log level to debug and this is what I see:
    Mar-01 10:58:58 Ecobee DEBUG System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x00034] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at HSPI_Ecobee.WebConfig.postBackProc (System.String page, System.String data, System.String user, System.Int32 userRights) [0x000cf] in <176fb2178c3c4c7eb39a18c47d0b6285>:0 ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---
    Mar-01 10:58:58 Ecobee ERROR One or more errors occurred.
    This is on HS3-PI-3 (3B+) and on the most current software release.

  • #2
    What's your version of mono? You need 4.8 or later, read this thread
    https://forums.homeseer.com/forum/th...-was-cancelled

    If this is a Zee, there is a guide here: https://helpdesk.homeseer.com/articl...e-to-mono-5-12

    Comment


    • #3
      That worked, thank you!

      Comment


      • #4
        I have just updated my mono and now I get this message. I seem to have lost my internet connection, although I am still able to access my Homeseer remotely.
        Any idea what is wrong?

        May-02 11:49:17 AM Ecobee DEBUG System.AggregateException: One or more errors occurred. (Method not found: void System.Net.WebHeaderCollection.AddValue(string,string)) ---> System.MissingMethodException: Method not found: void System.Net.WebHeaderCollection.AddValue(string,string) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in <6649516e5b3542319fb262b421af0adb>:0 at System.Net.Http.HttpClientHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00024] in :0 at System.Net.Http.HttpMessageInvoker.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00000] in :0 at System.Net.Http.HttpClient.__BaseCallProxy0 (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00000] in :0 at System.Net.Http.HttpClient.SendAsyncWorker (System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpCompletionOption completionOption, System.Threading.CancellationToken cancellationToken) [0x00089] in :0 at Ecobee.Net.Http.Get (System.String address, System.Boolean allowTokenRefresh) [0x0017d] in :0 at Ecobee.Net.Authorization.GetPinAuthorization () [0x00095] in :0 at HSPI_Ecobee.EcobeeApp.GetPinAuthorizationCode () [0x000b7] in <176fb2178c3c4c7eb39a18c47d0b6285>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <6649516e5b3542319fb262b421af0adb>:0 at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <6649516e5b3542319fb262b421af0adb>:0 at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <6649516e5b3542319fb262b421af0adb>:0 at HSPI_Ecobee.WebConfig.postBackProc (System.String page, System.String data, System.String user, System.Int32 userRights) [0x000cf] in <176fb2178c3c4c7eb39a18c47d0b6285>:0 ---> (Inner Exception #0) System.MissingMethodException: Method not found: void System.Net.WebHeaderCollection.AddValue(string,string) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in <6649516e5b3542319fb262b421af0adb>:0 at System.Net.Http.HttpClientHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00024] in :0 at System.Net.Http.HttpMessageInvoker.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00000] in :0 at System.Net.Http.HttpClient.__BaseCallProxy0 (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00000] in :0 at System.Net.Http.HttpClient.SendAsyncWorker (System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpCompletionOption completionOption, System.Threading.CancellationToken cancellationToken) [0x00089] in :0 at Ecobee.Net.Http.Get (System.String address, System.Boolean allowTokenRefresh) [0x0017d] in :0 at Ecobee.Net.Authorization.GetPinAuthorization () [0x00095] in :0 at HSPI_Ecobee.EcobeeApp.GetPinAuthorizationCode () [0x000b7] in <176fb2178c3c4c7eb39a18c47d0b6285>:0 <---
        May-02 11:49:17 AM Ecobee ERROR One or more errors occurred. (Method not found: void System.Net.WebHeaderCollection.AddValue(string,string))
        May-02 11:49:16 AM Ecobee DEBUG GET https://api.ecobee.com/authorize?res...cP&format=json

        Comment


        • #5
          What version of mono have you installed and how?
          You may have some missing packages, try:

          Code:
          sudo apt-get install mono-complete

          Comment


          • #6
            I have Mono JIT compiler version 5.20.1.19
            I was upgrading from version 3

            I used this link to upgrade:
            https://helpdesk.homeseer.com/articl...-sel-to-mono-5

            I have also tried the code:
            sudo apt-get install mono-complete

            Didn't seem to help at all

            Comment

            Working...
            X