TrenxT / rutorrent

Automatically exported from code.google.com/p/rutorrent
0 stars 0 forks source link

rUtorrent v3.0 hangs on the loading screen #367

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Browser to url

What is the expected output? Normal GUI 
What do you see instead? Loading screen

What environment are you using?
1. rutorrent v3.0
2. rtorrent 0.8.6
3. nginx or lighttpd (happens on either as I'm using the rpc plugin) Debian
Lenny x64
3. Browser is irrelevant as it happens in IE7, Chrome, FF
5. Latest stable SVN of XMLRPC-C

Are some errors present in the web-server log? No, just error.log in /tmp
Error.log:
[24.03.10 03:11:57] <?xml version="1.0"
encoding="UTF-8"?><methodCall><methodName>to_kb</methodName><params>
<param><value><i8>1024</i8></value></param>
</params></methodCall>
[24.03.10 03:11:57] Status: 200 OK
Content-Type: text/xml
Content-Length: 298

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<fault>
<value><struct>
<member><name>faultCode</name>
<value><i4>-503</i4></value></member>
<member><name>faultString</name>
<value><string>Wrong object type.</string></value></member>
</struct></value>
</fault>
</methodResponse>

[24.03.10 03:11:57] <?xml version="1.0"
encoding="UTF-8"?><methodCall><methodName>system.multicall</methodName><params><
param><value><array><data>
<value><struct><member><name>methodName</name><value><string>get_directory</stri
ng></value></member><member><name>params</name><value><array><data>
</data></array></value></member></struct></value>
<value><struct><member><name>methodName</name><value><string>get_session</string
></value></member><member><name>params</name><value><array><data>
</data></array></value></member></struct></value>
<value><struct><member><name>methodName</name><value><string>system.client_versi
on</string></value></member><member><name>params</name><value><array><data>
</data></array></value></member></struct></value>
<value><struct><member><name>methodName</name><value><string>system.library_vers
ion</string></value></member><member><name>params</name><value><array><data>
</data></array></value></member></struct></value>
<value><struct><member><name>methodName</name><value><string>set_xmlrpc_size_lim
it</string></value></member><member><name>params</name><value><array><data>
<value><i4>67108863</i4></value>
</data></array></value></member></struct></value>
</data></array></value></param></params></methodCall>
[24.03.10 03:11:57] Status: 200 OK
Content-Type: text/xml
Content-Length: 764

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param><value><array><data>
<value><array><data>
<value><string>/home/rt/torrents/done/</string></value>
</data></array></value>
<value><array><data>
<value><string>/home/rt/.rtsession/</string></value>
</data></array></value>
<value><array><data>
<value><string>0.8.6</string></value>
</data></array></value>
<value><array><data>
<value><string>0.12.6</string></value>
</data></array></value>
<value><struct>
<member><name>faultCode</name>
<value><i4>-506</i4></value></member>
<member><name>faultString</name>
<value><string>Method 'set_xmlrpc_size_limit' not
defined</string></value></member>
</struct></value>
</data></array></value></param>
</params>
</methodResponse>

Are some errors present in the browser error console? No

Please provide any additional information below.

Original issue reported on code.google.com by raab.him...@gmail.com on 24 Mar 2010 at 2:16

GoogleCodeExporter commented 8 years ago
try removing all plugins (except rpc i guess)

if it loads then you have a place to start from.

also, have you tried using another webserver?  nginx isn't the best choice for 
rutorrent.  If you want a fast webserver which is lightweight check out 
cherokee.

Original comment by Wonslung@gmail.com on 24 Mar 2010 at 4:36

GoogleCodeExporter commented 8 years ago
only using the rpc plugin

i've tried using lighttpd, same thing

Original comment by raab.him...@gmail.com on 24 Mar 2010 at 6:23

GoogleCodeExporter commented 8 years ago
looks like it's the latest SVN of rtorrent

tbh he's making so many undocumented changes it's getting a bit annoying

will stick with stable for now

Original comment by raab.him...@gmail.com on 24 Mar 2010 at 8:29

GoogleCodeExporter commented 8 years ago
"set_xmlrpc_size_limit" became "network.xmlrpc.size_limit.set" in SVN r1152 of
rtorrent. Hopefully, internal system of aliases introdiced in r862 of 
ruTorrent, will
help to cope with such changes quickly.

Original comment by borouhin@gmail.com on 24 Mar 2010 at 9:38

GoogleCodeExporter commented 8 years ago
>Hopefully, internal system of aliases introdiced in r862 of ruTorrent, will
help to cope with such changes quickly.

No. In r1150 rTorrent's author change command's syntax. For example, method 
"to_kb"
is require 2 arguments now, instead 1 in old version.
See http://libtorrent.rakshasa.no/ticket/2147 for details.
As result, ruTorrent doesn't support svn version of rTorrent now. I will think 
about
that when rakshasa finish his changes in API. Probably, the best variant will 
be has
two versions of front-end - for old and fro new rTorrent. Damn.

Original comment by novik65 on 24 Mar 2010 at 11:50

GoogleCodeExporter commented 8 years ago
Perhaps, the information that rtorrent releases 1150 and later are not supported
should be added to the Wiki or even on the main page. I'm afraid it will take a 
long
time until rakshasa finishes changing the API and questions about compatibility 
with
the latest builds will become more and more often.

Original comment by borouhin@gmail.com on 24 Mar 2010 at 2:43

GoogleCodeExporter commented 8 years ago
This information was added to intro page.

Original comment by novik65 on 25 Mar 2010 at 9:32