[Libtorrent-devel] xmlrpc command fails

Goran gkoruga at siol.net
Thu Aug 19 14:31:17 UTC 2010


On Thu, 19 Aug 2010 13:12:16 +0430 (IRDT)
Hossein Movahhedian <dma8hm1334 at gmail.com> wrote:

Hello.

>      I have installed `rtorrent-0.8.6' (configured with the
>   "--with-xmlrpc-c" flag), `libtorrent-0.12.6', `scgi-1.14',
>   and 'xmlrpc_c-1.06.40' successfully on slackware 13.0.
> 
>      Also I have added "SCGIMount /RPC2 127.0.0.1:5000" to
>   `/etc/httpd/httpd.conf' and "scgi_port = localhost:5000"
>   and "encoding_list = UTF-8" to `~/.rtorrent.rc'.
> 
>      To get the list of all the xmlrpc methods rtorrent supports,
>   I run `rtorrent' and then execute
>   `xmlrpc localhost system.listMethods'. But I get: {{{
> 
> Error: Curl failed to perform HTTP POST request.  curl_easy_perform() 
> says: couldn't connect to host (-504)
> 
> }}}

Alternatively try to connect to rtorrent directly, not via SCGI apache
module. While mentioning that, is it enabled in apache config?

These Perl module allow direct connections:

http://search.cpan.org/~zag/Net-RTorrent-0.09/

http://search.cpan.org/~unera/RTPG-0.92/RTPG.pm

Regards,
        Goran


More information about the Libtorrent-devel mailing list