No connection to rTorrent issue


#1

Hi Support team,
I’m having an error with rutorrent not connecting to rtorrent,

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.

Could i please get help on where to start with some feedback i can provide in regards to my system.
I’ve been searching around the forum and see similar problems but really don’t want to make changes without specific requests.

db

Linux trilton.net 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

default-ssl.conf

SSLPassPhraseDialog  builtin
SSLSessionCache         shmcb:/var/cache/mod_ssl/scache(512000)
SSLSessionCacheTimeout  300
#SSLMutex default
SSLRandomSeed startup file:/dev/urandom  256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
<VirtualHost *:80>
        RewriteEngine On
        RewriteCond %{HTTPS} !=on
        RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
        DocumentRoot "/srv/rutorrent/home"
        <Directory "/srv/rutorrent/home/">
                Options None
                AllowOverride None
                Require all granted
        </Directory>
SCGIMount /trilton 127.0.0.1:47514
</VirtualHost>
<VirtualHost *:443>
Options +Indexes +MultiViews +FollowSymLinks
SSLEngine on
        DocumentRoot "/srv/rutorrent/home"
        <Directory "/srv/rutorrent/home/">
                Options +Indexes +FollowSymLinks +MultiViews
                AllowOverride All AuthConfig
                Order allow,deny
                Allow from all
        AuthType Digest
        AuthName "rutorrent"
        AuthUserFile '/etc/htpasswd'
        Require valid-user
        </Directory>
        SSLEngine on
        SSLProtocol ALL -SSLv2 -SSLv3
        SSLHonorCipherOrder On
        SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS
        SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
        SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
        SetEnvIf User-Agent ".*MSIE.*" \
                 nokeepalive ssl-unclean-shutdown \
                 downgrade-1.0 force-response-1.0
SCGIMount /trilton 127.0.0.1:####  << REDACTED FOR SECURITY
</Virtualhost>
SCGIMount /trilton 127.0.0.1:####  << REDACTED FOR SECURITY

/srv/rutorrent/conf/users/trilton

<?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/trilton/';
  $forbidUserSettings = false;
  $scgi_port = ####;  << REDACTED FOR SECURITY
  $scgi_host = "localhost";
  $XMLRPCMountPoint = "/RPC2";
  $pathToExternals = array("php" => '',"curl" => '',"gzip" => '',"id" => '',"stat" => '',);
  $localhosts = array("127.0.0.1", "localhost",);
  $profilePath = '../share';
  $profileMask = 0777;
  $autodlPort = ####;  << REDACTED FOR SECURITY
  $autodlPassword = "#############"; << REDACTED FOR SECURITY
$diskuser = "/";
$quotaUser = "trilton";

Many Thanks!


#2

Hey @Trilton,

Check out this post and it’s solution. This may be the issue you are having as well. Additionally, you may need to reboot after you apply the solution.


#3

Hi @JMSolo

I entered the command as instructed and it returned:

Acquire::ForceIPv4 “true”;
then
apt install rtorrent
I then rebooted, the change does not seem to have affected the error.
For reference, i have been following this guide since:
https://hoarding.me/

Regards


#4

What are the results of

systemctl status [email protected]