Export to GitHub

ntorrent - issue #130

nTorrent wont connect


Posted on Apr 17, 2010 by Happy Monkey

What steps will reproduce the problem? 1. lighttpd 1.4.26 2. libtorrent 0.12.6 3. rtorrent 0.8.6 4. nTorrent 0.5.1

xmlrpc localhost system.listMethods works OK

nTorrent direct connection throws:

Apr 17, 2010 2:59:33 PM ntorrent.Session run WARNING: null java.lang.reflect.UndeclaredThrowableException at $Proxy0.xmlrpc_dialect(Unknown Source) at ntorrent.io.xmlrpc.XmlRpcConnection.<init>(XmlRpcConnection.java:156) at ntorrent.Session.run(Session.java:75) at java.lang.Thread.run(Thread.java:619) Caused by: redstone.xmlrpc.XmlRpcFault: Unsupported XMLRPC dialect selected. at redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:105) at redstone.xmlrpc.XmlRpcSocketClient.endCall(XmlRpcSocketClient.java:88) at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:78) at redstone.xmlrpc.XmlRpcProxy.invoke(XmlRpcProxy.java:168) ... 4 more

HTTP connection to localhost throws:

INFO: New http connection to url=http://localhost:5000/RPC2 using proxy=DIRECT Apr 17, 2010 3:00:40 PM ntorrent.Session run WARNING: The response could not be parsed. redstone.xmlrpc.XmlRpcException: The response could not be parsed. at redstone.xmlrpc.XmlRpcHTTPClient.handleResponse(XmlRpcHTTPClient.java:445) at redstone.xmlrpc.XmlRpcHTTPClient.endCall(XmlRpcHTTPClient.java:389) at redstone.xmlrpc.XmlRpcHTTPClient.invoke(XmlRpcHTTPClient.java:221) at redstone.xmlrpc.XmlRpcProxy.invoke(XmlRpcProxy.java:168) at $Proxy0.xmlrpc_dialect(Unknown Source) at ntorrent.io.xmlrpc.XmlRpcConnection.<init>(XmlRpcConnection.java:156) at ntorrent.Session.run(Session.java:75) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.SocketException: Unexpected end of file from server at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1064) at redstone.xmlrpc.XmlRpcHTTPClient.handleResponse(XmlRpcHTTPClient.java:431) ... 7 more

Comment #1

Posted on Apr 17, 2010 by Swift Kangaroo

xmlrpc-c version?

Read the faq

I get a blank error message dialogue window when trying to connect.

* Check the log files and see what error message was thrown further down in the

exception stack. Usually this is because you have an old version of xmlrpc-c. read the installation guide on this.

Comment #2

Posted on Apr 17, 2010 by Happy Monkey

xmlrpc-c version is 1.06.38

Comment #3

Posted on Apr 17, 2010 by Swift Kangaroo

only 1.07 and higher is supported. Read the ntorrent wiki.

Status: Invalid

Labels:
Type-Defect