[Libtorrent-devel] xmlrpc command fails
Hussain
dma8hm1334 at gmail.com
Fri Aug 20 08:50:35 UTC 2010
On Thu, 19 Aug 2010, Goran <gkoruga at siol.net> wrote:
>> 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?
>
If you mean something other than adding "SCGIMount /RPC2 127.0.0.1:5000" to
`/etc/httpd/httpd.conf', I would be gratefully appreciated if you let me know
how can I do that.
> 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
I will try these.
Thanks -Hossein
More information about the Libtorrent-devel
mailing list