Announcement

Collapse
No announcement yet.

Nest wont Authorize

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

    Nest wont Authorize

    I reinstalled and I keep getting this error.

    This is the first time I have had it on my Linux system FYI.

    "ERROR An exception was thrown by the type initializer for Newtonsoft.Json.Utilities.ConvertUtils "

    I get that error in the logs right after I get the PIN and click done.
    I have restarted enabled disabled, uninstalled re-installed.
    Same error. Nothing different.
    Debian 8, everything else is and has been running fine.


    More Debug info.


    DEBUG System.TypeInitializationException: An exception was thrown by the type initializer for Newtonsoft.Json.Utilities.ConvertUtils ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Numerics,​ Version=4.0.0.0,​ Culture=neutral,​ PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.Numerics,​ Version=4.0.0.0,​ Culture=neutral,​ PublicKeyToken=b77a5c561934e089' --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.DefaultContractResolver.IsJson PrimitiveType (System.Type t) [0x00000] in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.Create Contract (System.Type objectType) [0x00000] in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.Resolv eContract (System.Type type) [0x00000] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.G etContractSafe (System.Type type) [0x00000] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.D eserialize (Newtonsoft.Json.JsonReader reader,​ System.Type objectType,​ Boolean checkAdditionalContent) [0x00000] in :0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader,​ System.Type objectType) [0x00000] in :0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader,​ System.Type objectType) [0x00000] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value,​ System.Type type,​ Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject[AccessTokenResponse] (System.String value,​ Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject[AccessTokenResponse] (System.String value) [0x00000] in :0 at NestSharp.NestClient.GetAccessToken (System.String pin) [0x00000] in :0 at HSPI_Nest.WebConfig.postBackProc (System.String page,​ System.String data,​ System.String user,​ Int32 userRights) [0x00000] in :0


    Thanks,
    Brett

    #2
    try to install the numerics dll

    Code:
    sudo apt-get install libmono-system-numerics4.0-cil
    or even better the mono-complete package

    Code:
    sudo apt-get install mono-complete

    Comment


      #3
      Great thanks a lot. That did the trick.

      It installed a ton of lib* packages.
      249M worth.


      But thanks for your time.


      Brett

      Comment

      Working...
      X