rakshasa / rtorrent

rTorrent BitTorrent client
https://github.com/rakshasa/rtorrent/wiki
GNU General Public License v2.0
4.2k stars 415 forks source link

Tracker: [Could not parse bencoded data] while NOT a tracker issue #787

Open tonyrulez opened 6 years ago

tonyrulez commented 6 years ago

I have latest rtorrent with ruTorrent 3.8 on my Debian server, and I pass torrents to it via Sonarr (it gets them from rarbg if it matters). Strangely I get the error in the title. I've read through every article I could find and all it was saying "yeah, it's a problem with the tracker, just wait until it works again".

I have an other instance of Sonarr running on my home computer (Windows 10) and it passess torrents to qBittorrent. Never had any issue, as soon as the torrent appears in the torrent client, it starts downloading. Since the server version doesn't work, I had to keep using the Windows version. Every torrent fails on rtorrent, and all the same torrents download on qBittorrent. I also copied a failed rtorrent's torrent's hash into qBittorrent, and the same happened, it immediately started downloading.

So I can't exactly accept the solution that "tracker is bad, just wait". I had torrents sitting in rtorrent for over a week, And the trackers work just fine.

What logs should I look at to get more info on this?

tonyrulez commented 6 years ago

I discovered that Pi-hole was blocking tracker.trackerfix.com. After adding it to whitelist and making sure no other tracker was blocked, I get this error:

Tracker: [Unable to connect to UDP tracker.]

Will look into it.

Edit: Opened the DHT port in firewalld, current error is

DHT search unsuccessful

I keep looking.

Edit2: I got the Tracker: [Unable to connect to UDP tracker.] error again. Looks like opening the DHT port wasn't a fix

Edit3: after opening and forwarding the whole port range, it downloaded the torrent..