2010-11-01, 23:56
sb206 Wrote:Here is the log
http://pastebin.com/Ht4bBHZP
That's a very odd debug log. Do you manually initialize the iMON display? The app never gets notified by XBMC that playback of a file has been started.
There is also a strange behaviour regarding the connection setup with XBMC. When my XBMC is not running it looks like this in my log:
Code:
01.11.2010 22:49:27 [GUI] Trying to auto-connect with XBMC
01.11.2010 22:49:27 [XBMC] XbmcJsonRpcConnection.IsAlive
01.11.2010 22:49:27 [GUI] Asynchronous starting to connect with XBMC
01.11.2010 22:49:27 [XBMC] Opening a connection to XBMC
01.11.2010 22:49:28 [GUI] Connection with XBMC failed
In your log it looks like this:
Code:
01.11.2010 21:19:33 [GUI] Trying to auto-connect with XBMC
01.11.2010 21:19:33 [XBMC] XbmcJsonRpcConnection.IsAlive
01.11.2010 21:19:33 [GUI] Asynchronous starting to connect with XBMC
01.11.2010 21:19:33 [XBMC] Opening a connection to XBMC
01.11.2010 21:19:33 [XBMC] XbmcJsonRpcConnection.IsAlive
01.11.2010 21:19:33 [XBMC] XbmcJsonRpc.Ping()
01.11.2010 21:19:33 [XBMC] Calling JSON RPC method "JSONRPC.Ping"...
01.11.2010 21:19:34 [XBMC] ERROR Error while calling JSON RPC method "JSONRPC.Ping"
WebException: Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.
bei System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
bei System.Net.HttpWebRequest.GetRequestStream()
bei XBMC.JsonRpc.JsonRpcClient.Call(String method, Object args)
01.11.2010 21:19:34 [XBMC] ERROR JSONRPC.Ping: Invalid response
01.11.2010 21:19:34 [XBMC] Closing the connection
01.11.2010 21:19:34 [GUI] Connection with XBMC failed
Looks like it is possible to open a tcp socket at port 9090 to the given IP but it is not possible to send an HTTP request containing a JSON RPC call to port 81.
Is it possible that you have another application running which already uses port 9090? If you don't know that you might need to use a tool like NMap to scan the port.