So I've been having a couple errors lately and the log doesn't really help me.
Version: 2.1.4.2
Running VC on Win 7 (service pack 1, .NET: 4.5) on a separate server to Kodi
command example:<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.2-->
<command id="856" name="Folder Path" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>XJson.Raw</cmdType>
<params>
<param>XBMC.GetInfoLabels</param>
<param>"labels" : ["Container.FolderPath"]</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</command>
That's just an example, but it's randomly on everything.
error is: 26/03/2015 8:29:09 PM 952 [plugin] Sending json request:
26/03/2015 8:29:09 PM 952 [plugin] {"jsonrpc": "2.0", "method": "XBMC.GetInfoLabels", "params":{"labels" : ["Container.FolderPath"]},"id": "0"}
26/03/2015 8:29:10 PM 305 [plugin] Web Exception while calling JSON RPC:{"jsonrpc": "2.0", "method": "XBMC.GetInfoLabels", "params":{"labels" : ["Container.FolderPath"]},"id": "0"}
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at vcPlugin.xJsonHttpCommunicator.PostRequest(String strRequest)
26/03/2015 8:29:10 PM 305 [error] plugin error:
System.Exception: Failed to connect to XBMC:
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at vcPlugin.xJsonHttpCommunicator.PostRequest(String strRequest)
at vcPlugin.xJsonHttpCommunicator.PostRequest(String strRequest)
at vcPlugin.xJsonHttpCommunicator.getObj(String[] allParameters)
at vcPlugin.xJsonHttpCommunicator.jsonRaw(String[] allParameters, Boolean convertSlashToFwd)
at vcPlugin.Plugin.doAction(String[] parsedActions, String[] parsedParams)
at eval_d.eval_ᜃ(macroElement A_0, List`1 A_1, Int32 A_2)
I know this looks like a host thing more so than VC.
If I do a reconnect to webserver it works for a few seconds then decides to drop connection again.
It only ever seems to appear when trying to talk to Kodi on another windows 7 system.
I have a appletv and openelec kodi aswell and this error doesn't appear.
I can run a REST client from chrome on the same system as my server and have no issues, but i think that might connect differently.
I can log onto remote server on the same system as my server without a problem.
And my app on my iPad doesn't have any issues connecting.
I've been hunting logs on both systems and haven't found anything.
This is all the Kodi log saids:
DEBUG: webserver: request received for /jsonrpc
DEBUG: Previous line repeats 1 times.
DEBUG: Thread JobWorker 12180 terminating (autodelete)
DEBUG: webserver: request received for /jsonrpc
DEBUG: Previous line repeats 1 times.
Does this error mean anything to you or is it something with my server?
Can you see anything there that might be a cause?
Any ideas on what other ways i can problem solve?