[SOLVED] Trackers are timing out after Ubuntu 22.04 upgrade

General support for problems installing or using Deluge
Post Reply
xebozone
New User
New User
Posts: 3
Joined: Mon Aug 29, 2022 7:01 am

[SOLVED] Trackers are timing out after Ubuntu 22.04 upgrade

Post by xebozone »

Hello,

Deluge was working great until I upgraded to Ubuntu 22.04 from 20.04 recently.
All my recently added torrents run into tracker errors.
I see the tracker status "Announce Sent", "Announce OK", and then I get "Error: skipping tracker announce (unreachable)" or "Error: timed out"

I made a backup of my config folder, removed it, and restarted the service to start everything fresh again, and I still run into the same issues.
I've copied the magnet link (from deluge web client) into uTorrent on the same network (a Windows 11 machine) and it works, so it's unlikely a router issue. I can see uPnP is working on the router too.

I have also tried copy-pasting a tracker list into the torrent, but I get the same results. It gets as far as getting the size of the download when I do this, but does not proceed further than this (peer list is empty).

I set my deluge logs to "info" and had a look, but there's nothing suspicious in those logs.
I also installed the ltConfig plugin and enabled "announce_to_all_tiers" and "announce_to_all_trackers" as well as increasing the tracker_completion_timeout as research suggests, but this had no effect.

Just for kicks, I did grant full nonrestrictive permissions to the deluge directory, and the download directory, so I don't think that the issue is a permissions one. It seems to be a tracker or networking issue of sorts.

I also tested DNS on the server and it works.

If I could get some pointers as to what I could try next, that would be appreciated. Deluge has served me well for years and even across other Ubuntu LTS upgrades.

Code: Select all

deluged 2.1.1
libtorrent: 2.0.5.0
Python: 3.10.4
OS: Linux Ubuntu 22.04 jammy
Last edited by xebozone on Wed Aug 31, 2022 1:55 am, edited 1 time in total.
xebozone
New User
New User
Posts: 3
Joined: Mon Aug 29, 2022 7:01 am

Re: Trackers are timing out after Ubuntu 22.04 upgrade

Post by xebozone »

I've made some progress.
I have a bridge setup on the server that runs deluge.
I found that dhcpcd was assigning a DHCP address to both the bridge and the bridge interface.
It must have been confusing the router.

At the bottom of /etc/dhcpcd.conf I added the line:

Code: Select all

denyinterfaces enp2s0
(this is the interface to bridge br0)
and rebooted the host (and the router for good measure)

I can now connect to trackers and get a list of peers, but still nothing downloads.
I now keep getting: Error: Connection reset by peer
I'll keep further troubleshooting.
Any pointers appreciated
xebozone
New User
New User
Posts: 3
Joined: Mon Aug 29, 2022 7:01 am

Re: Trackers are timing out after Ubuntu 22.04 upgrade

Post by xebozone »

OK, I've solved the last piece of the puzzle.
The permissions for the directories where the files download to needed to be re-applied for example:

Code: Select all

chown -R deluge:deluge /srv/torrents
and

Code: Select all

chmod -R 775 deluge:deluge /var/lib/deluge
Not sure why this got messed up, but it appears to all be working again now.
Would be nice if there were more useful errors. It was mostly guessing and trying different things.
Glad I worked it out by my self.
Post Reply