rtorrent running but can't connect to ruTorrent

Having issues with your DietPi installation, or, found a bug? Post it here.
Chester007
Posts: 32
Joined: Sat Mar 04, 2017 2:57 pm

rtorrent running but can't connect to ruTorrent

Post by Chester007 » Wed Mar 06, 2019 2:27 am

This is on a fresh installation. I can verify that rtorrent is running by checking htop but the ruTorrent webUI says that connection is not established. I checked the scgi port settings on both and they match. However, entering the command
rtorrent
or
/usr/bin/rtorrent
on the terminal seems to temporarily fix the connection issue but then now I have 2 rtorrent processes running and closing the terminal also terminates the process.

User avatar
MichaIng
Site Admin
Posts: 1835
Joined: Sat Nov 18, 2017 5:21 pm

Re: rtorrent running but can't connect to ruTorrent

Post by MichaIng » Sun Mar 10, 2019 6:00 pm

@Chester007
Many thanks for your report.

Jep I verified the bug: https://github.com/MichaIng/DietPi/issues/2629

I hope we can fix this for v6.22 which is about to be released soon.

Chester007
Posts: 32
Joined: Sat Mar 04, 2017 2:57 pm

Re: rtorrent running but can't connect to ruTorrent

Post by Chester007 » Mon Mar 11, 2019 8:57 am

Thank you for noticing this issue. I was just about to report that I was able to replicate this on a newly installed system and on a different microsd card. I'm also hoping that this issue gets resolved soon. I personally prefer rtorrent over other torrent clients.

arturo
Posts: 9
Joined: Thu Mar 21, 2019 7:49 am

Re: rtorrent running but can't connect to ruTorrent

Post by arturo » Thu Mar 21, 2019 7:57 am

Hi,
I also would like rutorrent webif to be working again

User avatar
MichaIng
Site Admin
Posts: 1835
Joined: Sat Nov 18, 2017 5:21 pm

Re: rtorrent running but can't connect to ruTorrent

Post by MichaIng » Thu Mar 21, 2019 6:12 pm

The fix is already in Beta. If you want to test it: https://github.com/MichaIng/DietPi/issues/2632

arturo
Posts: 9
Joined: Thu Mar 21, 2019 7:49 am

Re: rtorrent running but can't connect to ruTorrent

Post by arturo » Sun Mar 31, 2019 9:55 pm

Now rutorrent connects, but download speed is 0 (through Nordvpn vpn)
I understand I need to setup a socks5 proxy with authentication, can that be done with rtorrent ?

User avatar
MichaIng
Site Admin
Posts: 1835
Joined: Sat Nov 18, 2017 5:21 pm

Re: rtorrent running but can't connect to ruTorrent

Post by MichaIng » Mon Apr 01, 2019 5:02 pm

rTorrent has no internal SOCKS5 support: https://github.com/rakshasa/rtorrent/issues/105

So you would need to setup setup the proxy externally and make rTorrent use it. However a proxy should not be required, it is just recommended to stabilize and further anonymize the connection.

Did you verify that you use a P2P ready NordVPN server?

It works without VPN active, doesn't it?

Chester007
Posts: 32
Joined: Sat Mar 04, 2017 2:57 pm

Re: rtorrent running but can't connect to ruTorrent

Post by Chester007 » Thu Apr 04, 2019 3:03 pm

After some playing around with the new update, I've found that changing the hostname to something other than DietPi also causes the problem where rutorrent can't connect to rtorrent

User avatar
MichaIng
Site Admin
Posts: 1835
Joined: Sat Nov 18, 2017 5:21 pm

Re: rtorrent running but can't connect to ruTorrent

Post by MichaIng » Thu Apr 04, 2019 3:29 pm

Hmm will check. Actually ruTorrenr should simply scan/show the local loopback IP for rTorrent instances so the hostname should not matter. Perhaps rTorrent only listens/answers requests sent to or associated with the hostname at the time it is started. But I would call this a bug actually. Does restarting rTorrent solve it?

Chester007
Posts: 32
Joined: Sat Mar 04, 2017 2:57 pm

Re: rtorrent running but can't connect to ruTorrent

Post by Chester007 » Thu Apr 04, 2019 3:32 pm

I tried restarting it using

Code: Select all

dietpi-services restart rtorrent
but didn't work

Post Reply