jozedk / ntorrent

Automatically exported from code.google.com/p/ntorrent
GNU General Public License v3.0
0 stars 0 forks source link

nTorrent wont connect #130

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.jav
a:1064)
        at
redstone.xmlrpc.XmlRpcHTTPClient.handleResponse(XmlRpcHTTPClient.java:431)
        ... 7 more

Original issue reported on code.google.com by Ivan.Kli...@gmail.com on 17 Apr 2010 at 2:32

GoogleCodeExporter commented 8 years ago
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. 

Original comment by kei...@gmail.com on 17 Apr 2010 at 2:35

GoogleCodeExporter commented 8 years ago
xmlrpc-c version is 1.06.38

Original comment by Ivan.Kli...@gmail.com on 17 Apr 2010 at 3:05

GoogleCodeExporter commented 8 years ago
only 1.07 and higher is supported. Read the ntorrent wiki.

Original comment by kei...@gmail.com on 17 Apr 2010 at 3:08