Bug 493440 - Certain torrents fail to download where other clients manage without issue
Summary: Certain torrents fail to download where other clients manage without issue
Status: CONFIRMED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 24.08.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-21 14:08 UTC by Matt
Modified: 2025-03-24 22:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Log window showing failures (394.82 KB, image/png)
2024-09-21 14:08 UTC, Matt
Details
Torrent file which shows the error at hand (66.38 KB, application/x-bittorrent)
2024-09-21 14:09 UTC, Matt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2024-09-21 14:08:57 UTC
Created attachment 173934 [details]
Log window showing failures

SUMMARY
When attempting to download a number of torrents, there will be repeated log messages of:
 Authentication to XXX.XXX.XXX.XXX : failure
 Authentication timeout
This loops infinitely and no seeds will be found.


STEPS TO REPRODUCE
1. Download the official archlinux torrent from 09.01
2. Open file in ktorrent

OBSERVED RESULT
Torrent hangs with 0 seeders or peers

EXPECTED RESULT
Torrent should locate peers and download the ISO file

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
DHT is enabled and this behavior is consistent regardless of VPN or firewall configuration. qBittorrent for example will work regardless of my network settings, where ktorrent will fail regardless of those same settings. 

This is not present on every torrent, perhaps only 10-15% of them.
Comment 1 Matt 2024-09-21 14:09:59 UTC
Created attachment 173935 [details]
Torrent file which shows the error at hand

Downloaded from https://archlinux.org/download/
Comment 2 Justin Zobel 2024-09-22 06:26:05 UTC
Confirmed the torrent works on Transmission.

Confirmed with KTorrent from git master that the port I specify isn't opened on localhost or my local IP.
Comment 3 Justin Zobel 2024-09-22 06:29:21 UTC
Scratch that, it is "open|filtered" under UDP. It should however be open, I believe.

Outside port test (with port forwarding on my router for 7882) shows it is closed.
Comment 4 Matt 2024-09-27 13:44:32 UTC
(In reply to Justin Zobel from comment #3)
> Scratch that, it is "open|filtered" under UDP. It should however be open, I
> believe.
> 
> Outside port test (with port forwarding on my router for 7882) shows it is
> closed.

Let me know if you would like any backtrace or network diagnostic to corroborate this.
Comment 5 Patrick Silva 2025-03-24 22:16:29 UTC
Same with ktorrent 24.12.3. I can't download the Arch Linux iso, or the download is extremely slow, with only 1 connected seeder, even if DHT is enabled in ktorrent settings.

Operating System: Arch Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Graphics Platform: Wayland