QuickBox / QB

QuickBox is much more than a ‘seedbox installer script’, it is a simplistic approach to achieving easy seedbox and services management from a beautifully designed dashboard. Allowing users the ability to interact with their seedbox and server on a professional grade level.
https://quickbox.io
GNU General Public License v3.0
737 stars 171 forks source link

rutorrent cant connect to rtorrent, cgi ports are correct #119

Open Ondjultomte opened 6 years ago

Ondjultomte commented 6 years ago

I just install QB but rutorrent can't connect to rtorrent, but the cgi port is correct. Any ideas?

Im running QB on a lxc 16.04 in proxmox 5.1

netstat -autpn | grep rtorrent (Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:25187 0.0.0.0: LISTEN 6165/rtorrent tcp 0 0 127.0.0.1:23739 0.0.0.0: LISTEN 6165/rtorrent

config.php ?php @define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0', true); @define('HTTP_TIME_OUT', 30, true); @define('HTTP_USE_GZIP', true, true); $httpIP = null;
@define('RPC_TIME_OUT', 5, true); @define('LOG_RPC_CALLS', false, true); @define('LOG_RPC_FAULTS', true, true); @define('PHP_USE_GZIP', false, true); @define('PHP_GZIP_LEVEL', 2, true); $schedule_rand = 10;
$do_diagnostic = true;
$log_file = '/tmp/errors.log';
$saveUploadedTorrents = true;
$overwriteUploadedTorrents = false;
$topDirectory = '/home/user/';
$forbidUserSettings = false;
$scgi_port = 23739;
$scgi_host = "localhost"; $XMLRPCMountPoint = "/RPC2"; $pathToExternals = array("php" => '',"curl" => '',"gzip" => '',"id" => '',"stat" => '',); $localhosts = array("127.0.0.1", "localhost",); $profilePath = '../share';
$profileMask = 0777;
$autodlPort = 60060;
$autodlPassword = "bXPxxqwnbk54lI69"; $diskuser = "/home"; $quotaUser = "user";

.rtorrent.rc: dht = auto
directory.default.set = /home/user/torrents/rtorrent
encoding.add = UTF-8
encryption = allow_incoming,try_outgoing,enable_retry,require_RC4
execute.nothrow = chmod,777,/home/user/.config/rpc.socket
execute.nothrow = chmod,777,/home/user/.sessions
network.port_random.set = yes
network.port_range.set = 23739-25239
network.scgi.open_port = localhost:23739
network.tos.set = throughput
peer_exchange = yes
pieces.hash.on_completion.set = no
schedule = watch_directory,5,5,load.start=/home/user/rwatch/*.torrent
session.path.set = /home/user/.sessions/
throttle.global_down.max_rate.set = 0
throttle.global_up.max_rate.set = 0
throttle.max_peers.normal.set = 100
throttle.max_peers.seed.set = -1
throttle.max_uploads.global.set = 100
throttle.min_peers.normal.set = 1
throttle.min_peers.seed.set = -1
trackers.use_udp.set = yes
use_udp_trackers = yes

JMSDOnline commented 6 years ago

I encountered this with a particular test user after editing the ~/.rtorrent.rc file in the users directory. For some reason or other, the modification and the restart issued the warning that the port was already in use. I simply deleted the user and recreated and the issue was gone, however, this is not a fix. I will work on recreating it once more, then attempt to simply update the port listed in the .rc as well as the users .conf in rutorrent.

viollette16 commented 6 years ago

I look to have the same problem on an OpenVZ server from Pulsheberg (Ubuntu 16.04 fresh installation), i will take a look on it and try other versions, i can't use docker due to old kernel (don't know if it can have any influence on this installation)

It look like i already have a bug with deluge (password ok => see interface => ask again password) for the moment i havn't any operational torrent ;p