Announcement

Collapse
No announcement yet.

Imperihome (Android) will not connect to API

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

  • Imperihome (Android) will not connect to API

    I feel like I'm losing my mind because the connection on this is so simple, but it will not work no matter what I do. I've found some previous threads with similar issues but none of them seem to have run into the same problems I have. I'm sure I'm missing something ridiculous.


    I have custom http server enabled, using port 8072, and i'm using Local API Base URL http://IPADDRESS:8072/issapi

    I have not entered a username or password.

    I am running HS3 Pro 3.0.0.435 on Linux.

    Port 8072 is open and listening on my Linux box.

    When I restart the plugin, I get this error in the logs and nothing else of note:
    Code:
     
    Aug-03 12:15:13 AM ImperiHome ERROR System.IO.FileNotFoundException: Could not load file or assembly or one of its dependencies. File name: 'System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' at Newtonsoft.Json.JsonSerializer.GetMatchingConverter (IList`1 converters, System.Type objectType) <0x40f3d3d0 + 0x00054> in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.InitializeContract (Newtonsoft.Json.Serialization.JsonContract contract) <0x40f3c740 + 0x00157> in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) <0x40f3ba80 + 0x0006b> in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) <0x40f35e30 + 0x0028f> in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) <0x40f35ac0 + 0x00144> in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.GetContractSafe (System.Object value) <0x40f35a70 + 0x00042> in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) <0x40f357b0 + 0x000e7> in :0 at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) <0x40f34d00 + 0x005df> in :0 at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) <0x40f34cd0 + 0x00020> in :0 at Newtonsoft.Json.JsonConvert.SerializeObjectInternal (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializer jsonSerializer) <0x40f305e0 + 0x00113> in :0 at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) <0x40f2efd0 + 0x0002f> in :0 at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value) <0x40f2eef0 + 0x00013> in :0 at HSPI_ImperiHome.ISSServer.HandleRequest (System.String absolutePath) <0x40f2e8d0 + 0x000cb> in :0
    Aug-03 12:15:13 AM ImperiHome TRACE ISSServer Request: /issapi/system
    Aug-03 12:15:08 AM ImperiHome ERROR System.IO.FileNotFoundException: Could not load file or assembly or one of its dependencies. File name: 'System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' at Newtonsoft.Json.JsonSerializer.GetMatchingConverter (IList`1 converters, System.Type objectType) <0x40f3d3d0 + 0x00054> in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.InitializeContract (Newtonsoft.Json.Serialization.JsonContract contract) <0x40f3c740 + 0x00157> in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) <0x40f3ba80 + 0x0006b> in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) <0x40f35e30 + 0x0028f> in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) <0x40f35ac0 + 0x00144> in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.GetContractSafe (System.Object value) <0x40f35a70 + 0x00042> in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) <0x40f357b0 + 0x000e7> in :0 at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) <0x40f34d00 + 0x005df> in :0 at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) <0x40f34cd0 + 0x00020> in :0 at Newtonsoft.Json.JsonConvert.SerializeObjectInternal (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializer jsonSerializer) <0x40f305e0 + 0x00113> in :0 at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) <0x40f2efd0 + 0x0002f> in :0 at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value) <0x40f2eef0 + 0x00013> in :0 at HSPI_ImperiHome.ISSServer.HandleRequest (System.String absolutePath) <0x40f2e8d0 + 0x000cb> in :0

    I appreciate any help in advance.

  • #2
    Is there anyone that has any suggestions on this? Thanks.

    Comment


    • #3
      sorry for the delay, the dll System.Xml.Linq.dll is missing on your system.

      if you haven't already done it. install mono-complete package
      Code:
      sudo apt-get install mono-complete
      or only reinstall the missing package:
      Code:
      sudo apt-get install libmono-system-xml-linq4.0-cil

      Comment

      Working...
      X