Bug 302997 - ktorrent will not download magnetic links
Summary: ktorrent will not download magnetic links
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
: 304278 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-04 06:43 UTC by tripzero.kev
Modified: 2021-03-02 17:08 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tripzero.kev 2012-07-04 06:43:22 UTC
I've tried a number of magnetic links.  Progress seems to be stuck at 0%.  Other bittorrent clients like deluge still work.

I have DHT enabled and port forwarding.  Even tried enabling the upnp plugin.

Reproducible: Always

Steps to Reproduce:
1. Find a magnetic torrent link
2. open with ktorrent
3. watch progress stall at 0%
Actual Results:  
progress hangs out at 0% seemingly forever

Expected Results:  
torrent downloads
Comment 1 tripzero.kev 2012-07-04 06:44:22 UTC
The Ubuntu package is 4.1.3.  I also downloaded, compiled and tested 4.2.0 with the same results.
Comment 2 Diego Viola 2012-07-04 07:03:33 UTC
Hi,

I have this problem as well, ktorrent was working well for me until a few days ago with magnet links and DHT, but recently things broke for magnet links + DHT.

I've tried everything, I've tried enabling protocol encryption, I've tried changing ports, enabled UPnP, but nothing, the problem still persists. The strange thing is that .torrent files still work fine, but not magnet links (DHT).

I also tried other bittorrent clients like Deluge and Transmission and they work fine for magnet links and DHT. I suspected this was an issue with my ISP or network, but since other BT clients work, then I guess it's not a problem on my side.

I've also tried running Wireshark and inspecting bittorrent traffic, but after adding a magnet link for download nothing happens, no packet is send out or in. And I made sure that the magnet links I tried to download have seeds, and they have. Those magnet links work/download fine with Deluge/Transmission.

My system is Arch Linux (x86_64), KDE 4.8.4, ktorrent 4.2.1.

Thanks.
Comment 3 Martín Cigorraga 2012-07-10 07:19:51 UTC
Hi all, I confirm this in KTorrent 4.2.1 on KDE SC 4.8.4 x86_64 (Arch Linux).
Magnet links won't start at all.
Comment 4 Joris Guisson 2012-07-11 18:17:08 UTC
Git commit 5107e4b7a050d7533f44801f5f5f5694203fd3b5 by Joris Guisson.
Committed on 11/07/2012 at 20:16.
Pushed by guisson into branch 'master'.

Make sure all trackers are used of a magnet link
Related: bug 303269

M  +1    -0    ChangeLog
M  +78   -46   src/magnet/magnetlink.cpp

http://commits.kde.org/libktorrent/5107e4b7a050d7533f44801f5f5f5694203fd3b5
Comment 5 Joris Guisson 2012-07-30 16:08:26 UTC
*** Bug 304278 has been marked as a duplicate of this bug. ***
Comment 6 Simon Andric 2013-02-01 01:16:50 UTC
hello!

i have the same problem... i associated magnets in firefox (via config:...) and then chose when the window opened /urs/bin/ktorrent  and now if i clik on a magnet it nicely goes to the ktorrent magnet corner, but unfortunately it stays there :( trackers it says 0

i have DHT & UDP enabled, in my router i have port 7881 both ways opened (port forwarded), i also have upnp enabled, webseeds enabled, tracker exchange enabled... 

i use the newest kde 4.9.98, my ktorrent version is 4.3.0, kubuntu raring, qt 4.8.4 i think...
also i have project neon installed but i boot into normal kde

and this wasnt the issue before.. since my last clean install about amoth ago it started... but its also true that before i used ktorrent on project neon,...so... i dont know...

nice day

simon :)
Comment 7 maxp779 2015-01-02 11:30:54 UTC
I also have this bug in kTorrent 4.3.1 in openSUSE 13.2 Magnet links take a long time to start and when they do they never seem to start downloading. qBittorrent starts much much faster, this is definitely a client side issue not an issue with the magnet link or anything.

Its specific to kTorrent or something kTorrent makes use of, my workaround is to use qBittorrent for now.
Comment 8 maxp779 2015-01-03 01:27:03 UTC
Here we go:

https://forums.opensuse.org/showthread.php/504004-ktorrent-magnet-link-issue?p=2686856#post2686856

I asked around and it seems if there is no tracker defined in the magnet link then it wont work with ktorrent. Other torrent clients are fine with this but ktorrent does nothing.