(14th Apr, 2014 05:07 AM)koper89 Wrote: [ -> ]Ok, sorry that I didn't answer earlier, to all of you who want to use it with sickbeard/couchpotato, because I used here scgi_local (local socket) you need to change in rtorrent.rc (defaulet /home/xbian/.rtorrent.rc)
this line:
scgi_local = /tmp/rtorrent.sock
to
scgi_port = 127.0.0.1:5000
and in:
/etc/nginx/sites-available/rutorrent
scgi_pass unix:/tmp/rtorrent.sock;
to
scgi_pass localhost:5000;
/var/www/rutorrent/conf/config.php
$scgi_port = 0;
$scgi_host = "unix:///tmp/rtorrent.sock";
to
$scgi_port = 5000;
$scgi_host = "127.0.0.1";
It'll now work.
It will solve your problem vokus also, but basicaly it means your rtorrent crashed and just reboot and your problem would be solved.
Anyone can help me?
![Huh Huh](http://forum.xbian.org/images/smilies/huh.gif)
Made the modification but still no comunication with CouchPotato nor Sickbeard... Also a new message appeared in my rutorrent:
[08.07.2014 02:31:31] No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file
See below log from my couchpotato
[ couchpotato.api] Failed doing api request "download.rtorrent.test": Traceback (most recent call last):
File "/usr/local/share/couchpotato/couchpotato/api.py", line 105, in run_handler
res = api[route](**kwargs)
File "/usr/local/share/couchpotato/couchpotato/core/downloaders/base.py", line 164, in _test
t = self.test()
File "/usr/local/share/couchpotato/couchpotato/core/downloaders/rtorrent/main.py", line 82, in test
if self.connect(True):
File "/usr/local/share/couchpotato/couchpotato/core/downloaders/rtorrent/main.py", line 74, in connect
self.rt._verify_conn()
File "/usr/local/share/couchpotato/libs/rtorrent/__init__.py", line 106, in _verify_conn
assert "system.client_version" in self._get_rpc_methods(), "Required RPC method not available."
File "/usr/local/share/couchpotato/libs/rtorrent/__init__.py", line 150, in _get_rpc_methods
return(self._rpc_methods or self._update_rpc_methods())
File "/usr/local/share/couchpotato/libs/rtorrent/__init__.py", line 139, in _update_rpc_methods
self._rpc_methods = self._get_conn().system.listMethods()
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/local/share/couchpotato/libs/rtorrent/lib/xmlrpc/scgi.py", line 188, in __request
verbose=self.__verbose
File "/usr/local/share/couchpotato/libs/rtorrent/lib/xmlrpc/scgi.py", line 98, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/local/share/couchpotato/libs/rtorrent/lib/xmlrpc/scgi.py", line 121, in single_request
sock.connect(addrinfo[0][4])
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 111] Connection refused