This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How do I get KTorrent to download

Tags: None
(comma "," separated)
sebastiang
Registered Member
Posts
9
Karma
0

How do I get KTorrent to download

Fri Mar 01, 2013 1:42 am
I know, it's a (maybe?) beginner's problem, but I spent the whole day googling and what not, and 26h later I nearly destroyed my pc:

My os is Ubuntu 12.10 and I installed KTorrent 4.2.1.
KTorrent starts just fine, opens torrents – as it turned out my happiest minutes with the app – but it just DOES NOT DOWNLOAD (capital letters not for yelling but for pointing out that KTorrent doesn't do what it's built to do!)...
I tried some of the suggestions in the www (even if nobody seems to experience exactly the same problems), tried different port numbers, but in the end it's all the same: KTorrent opens, I see my torrents (some stalled, some queued) but 0 B/s 0 nodes 0 anything... No warnings, no signs of any problems, just nothing...

In the end, I hope anyone in this forum can help me, otherwise it's back to win xp for me :'(
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: How do I get KTorrent to download

Fri Mar 01, 2013 12:47 pm
what ports are Ktorrent using?

did you open the corresponding ports in your firewall?

run the following in Konsole to see if your Ktorrent assigned ports are opened
Code: Select all
lsof -i |grep ktorrent


OpenSuse Leap 42.1 x64, Plasma 5.x

sebastiang
Registered Member
Posts
9
Karma
0
Thanks for the reply, I really hope we'll get it running...
1.
Port:59831
UDP port:58907
2.
Don't know anythings about any firewalls in place; I'm using a ADSL wlan modem (but if you tell me there could be some firewall in that thing, I'll look into it)
3.
Running the code in terminal reveals the following:

Code: Select all
ktorrent  2574 sebastian   21u  IPv6  81490      0t0  TCP *:59831 (LISTEN)
ktorrent  2574 sebastian   22u  IPv6  81514      0t0  UDP *:7881
ktorrent  2574 sebastian   23u  IPv4  81515      0t0  UDP *:7881
ktorrent  2574 sebastian   25u  IPv6  81538      0t0  UDP *:58907
ktorrent  2574 sebastian   26u  IPv4  81539      0t0  UDP *:58907


Should've mentioned before: All other torrent client (transmission, qbittorrent, deluge) work perfectly (and quite fast!), but I don't think they could interfere with KTorrent since I only installed them after KTorrent failed to do the job.
User avatar
google01103
Manager
Posts
6668
Karma
25
it looks to me that your ports are open, but I don't really have much of an understanding

note: some distros have sw firewalls that require you to open ports for apps like Ktorrent but it does not seem to be an issue in your case

in Ktorrent settings -> network -> network interface, what interface is being used? try all


OpenSuse Leap 42.1 x64, Plasma 5.x

sebastiang
Registered Member
Posts
9
Karma
0
Currently it says All interfaces...
For what it's worth, I'll try eth instead (if that's no good I can connect via wlan too and try wlan-interface). Overcautiously as I am I'm rebooting after every change made in the configuration to give the app every chance...
User avatar
google01103
Manager
Posts
6668
Karma
25
you shouldn't need to reboot, if it make you feel better you can restart the app but not sure that would make a difference

for the torrents you're trying to dl do you see seeders and leechers ?


OpenSuse Leap 42.1 x64, Plasma 5.x

sebastiang
Registered Member
Posts
9
Karma
0
Now I tried every possible interface – nothing so far (I'll stick to All interfaces for now).
KTorrent seems to have no connection to the www whatsoever, all torrents show 0 L, 0 S (while, as mentioned above, the same torrents work just fine in qBittorrent for example)... Seems I have to go for qBt anyway although from the looks of it I would really prefer KTorrent...
User avatar
google01103
Manager
Posts
6668
Karma
25
the file ~/kde/share/apps/ktorrent/log is there anything suspicious in it?

you can paste it here but either use the code tags or paste it on pastebin.com and post the link here


OpenSuse Leap 42.1 x64, Plasma 5.x

sebastiang
Registered Member
Posts
9
Karma
0
Sorry I can't access that log file since the directory ~/kde/share/apps/ktorrent doesn't exist (in fact, there isn't even a directory ~/kde)...
User avatar
google01103
Manager
Posts
6668
Karma
25
~/ is your home directory, /home/account_name/ you can cd to it
Code: Select all
cd ~/


and it's .kde, not kde (my bad)

so it would be /home/account_name/.kde/share/apps/ktorrent/log


OpenSuse Leap 42.1 x64, Plasma 5.x

sebastiang
Registered Member
Posts
9
Karma
0
Should've noticed that it has to be invisible... In the end, here it comes:

Code: Select all
Fri Mar 1 22:26:22 2013: Bound to ::
Fri Mar 1 22:26:22 2013: Cannot bind to port 0.0.0.0:59831 : Address already in use
Fri Mar 1 22:26:22 2013: Bound to TCP port 59831
Fri Mar 1 22:26:22 2013: DHT: Starting on port 7881
Fri Mar 1 22:26:22 2013: Bound to ::
Fri Mar 1 22:26:22 2013: DHT: Bound to ::
Fri Mar 1 22:26:22 2013: Bound to 0.0.0.0
Fri Mar 1 22:26:22 2013: DHT: Bound to 0.0.0.0
Fri Mar 1 22:26:22 2013: Cannot open /home/sebastian/.kde/share/apps/ktorrent/groups : No such file or directory
Fri Mar 1 22:26:22 2013: Loading /home/sebastian/.kde/share/apps/ktorrent/tor0/
Fri Mar 1 22:26:22 2013: Loading /home/sebastian/.kde/share/apps/ktorrent/tor1/
Fri Mar 1 22:26:22 2013: Loading /home/sebastian/.kde/share/apps/ktorrent/tor2/
Fri Mar 1 22:26:22 2013: Loading /home/sebastian/.kde/share/apps/ktorrent/tor3/
Fri Mar 1 22:26:22 2013: Loading /home/sebastian/.kde/share/apps/ktorrent/tor4/
Fri Mar 1 22:26:22 2013: Loading /home/sebastian/.kde/share/apps/ktorrent/tor5/
Fri Mar 1 22:26:22 2013: Loading /home/sebastian/.kde/share/apps/ktorrent/tor6/
Fri Mar 1 22:26:22 2013: Adding /all/active/downloads
Fri Mar 1 22:26:22 2013: Adding /active/downloads
Fri Mar 1 22:26:22 2013: Adding /downloads
Fri Mar 1 22:26:22 2013: Adding /all/active
Fri Mar 1 22:26:22 2013: Adding /active
Fri Mar 1 22:26:22 2013: Adding /all/active/uploads
Fri Mar 1 22:26:22 2013: Adding /active/uploads
Fri Mar 1 22:26:22 2013: Adding /uploads
Fri Mar 1 22:26:22 2013: Adding /all
Fri Mar 1 22:26:22 2013: Adding /all/downloads
Fri Mar 1 22:26:22 2013: Adding /downloads
Fri Mar 1 22:26:22 2013: Adding /all/downloads/not_running
Fri Mar 1 22:26:22 2013: Adding /downloads/not_running
Fri Mar 1 22:26:22 2013: Adding /not_running
Fri Mar 1 22:26:22 2013: Adding /all/uploads/not_running
Fri Mar 1 22:26:22 2013: Adding /uploads/not_running
Fri Mar 1 22:26:22 2013: Adding /not_running
Fri Mar 1 22:26:22 2013: Adding /all/passive/downloads
Fri Mar 1 22:26:22 2013: Adding /passive/downloads
Fri Mar 1 22:26:22 2013: Adding /downloads
Fri Mar 1 22:26:22 2013: Adding /all/passive
Fri Mar 1 22:26:22 2013: Adding /passive
Fri Mar 1 22:26:22 2013: Adding /all/passive/uploads
Fri Mar 1 22:26:22 2013: Adding /passive/uploads
Fri Mar 1 22:26:22 2013: Adding /uploads
Fri Mar 1 22:26:22 2013: Adding /all/downloads/running
Fri Mar 1 22:26:22 2013: Adding /downloads/running
Fri Mar 1 22:26:22 2013: Adding /running
Fri Mar 1 22:26:22 2013: Adding /all/uploads/running
Fri Mar 1 22:26:22 2013: Adding /uploads/running
Fri Mar 1 22:26:22 2013: Adding /running
Fri Mar 1 22:26:22 2013: Adding /all/ungrouped
Fri Mar 1 22:26:22 2013: Adding /ungrouped
Fri Mar 1 22:26:22 2013: Adding /all/uploads
Fri Mar 1 22:26:22 2013: Adding /uploads
Fri Mar 1 22:26:22 2013: Adding /all/custom
Fri Mar 1 22:26:22 2013: Adding /custom
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "MediaPlayerPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "SearchPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "ZeroconfPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "ScriptingPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "DownloadOrderPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "InfoWidgetPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "BandwidthSchedulerPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "LogViewerPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "ScanFolderPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "StatsPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "SyndicationPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "UPnPPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "MagnetGeneratorPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "IPFilterPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "ShutdownPlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "WebInterfacePlugin"
Fri Mar 1 22:26:22 2013: Qt Debug: ktorrent(4121)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/ktinfowidgetplugin.so" does not offer a qt_plugin_instance function.
Fri Mar 1 22:26:22 2013: Started update timer
Fri Mar 1 22:26:22 2013: Failed to suppress sleeping
Fri Mar 1 22:26:22 2013: QM Starting: Arirang.2011.DVDRip.AC3.HORiZON-ArtSubs
Fri Mar 1 22:26:22 2013: FreeBytes 227.75 GiB
Fri Mar 1 22:26:22 2013: Downloaded 0 B
Fri Mar 1 22:26:22 2013: Remaining 1.37 GiB
Fri Mar 1 22:26:22 2013: Starting download Arirang.2011.DVDRip.AC3.HORiZON-ArtSubs
Fri Mar 1 22:26:22 2013: Loading list of peers from /home/sebastian/.kde/share/apps/ktorrent/tor0/peer_list
Fri Mar 1 22:26:22 2013: Loading 0 active chunk downloads
Fri Mar 1 22:26:22 2013: QM Starting: Discovery.Channel.Mummy.Detective.2of4.Crypt.of.the.Medici.XviD.AC3.MVGroup.org.avi
Fri Mar 1 22:26:22 2013: FreeBytes 227.75 GiB
Fri Mar 1 22:26:22 2013: Downloaded 0 B
Fri Mar 1 22:26:22 2013: Remaining 890.18 MiB
Fri Mar 1 22:26:22 2013: Starting download Discovery.Channel.Mummy.Detective.2of4.Crypt.of.the.Medici.XviD.AC3.MVGroup.org.avi
Fri Mar 1 22:26:22 2013: Loading list of peers from /home/sebastian/.kde/share/apps/ktorrent/tor1/peer_list
Fri Mar 1 22:26:22 2013: Loading 0 active chunk downloads
Fri Mar 1 22:26:22 2013: QM Starting: History Channel_Greatest Tank Battles The Battle for the Baltics_xvid.avi
Fri Mar 1 22:26:22 2013: FreeBytes 227.75 GiB
Fri Mar 1 22:26:22 2013: Downloaded 0 B
Fri Mar 1 22:26:22 2013: Remaining 1.88 GiB
Fri Mar 1 22:26:22 2013: Starting download History Channel_Greatest Tank Battles The Battle for the Baltics_xvid.avi
Fri Mar 1 22:26:22 2013: Loading list of peers from /home/sebastian/.kde/share/apps/ktorrent/tor2/peer_list
Fri Mar 1 22:26:22 2013: Loading 0 active chunk downloads
Fri Mar 1 22:27:22 2013: FreeBytes 227.73 GiB
Fri Mar 1 22:27:22 2013: Downloaded 0 B
Fri Mar 1 22:27:22 2013: Remaining 1.37 GiB
Fri Mar 1 22:27:22 2013: FreeBytes 227.73 GiB
Fri Mar 1 22:27:22 2013: Downloaded 0 B
Fri Mar 1 22:27:22 2013: Remaining 890.18 MiB
Fri Mar 1 22:27:22 2013: FreeBytes 227.73 GiB
Fri Mar 1 22:27:22 2013: Downloaded 0 B
Fri Mar 1 22:27:22 2013: Remaining 1.88 GiB
Fri Mar 1 22:28:22 2013: FreeBytes 227.71 GiB
Fri Mar 1 22:28:22 2013: Downloaded 0 B
Fri Mar 1 22:28:22 2013: Remaining 1.37 GiB
Fri Mar 1 22:28:22 2013: Stalled for too long, time to get some fresh blood
Fri Mar 1 22:28:22 2013: Stalled for too long, time to get some fresh blood
Fri Mar 1 22:28:22 2013: FreeBytes 227.71 GiB
Fri Mar 1 22:28:22 2013: Downloaded 0 B
Fri Mar 1 22:28:22 2013: Remaining 890.18 MiB
Fri Mar 1 22:28:22 2013: Stalled for too long, time to get some fresh blood
Fri Mar 1 22:28:22 2013: FreeBytes 227.71 GiB
Fri Mar 1 22:28:22 2013: Downloaded 0 B
Fri Mar 1 22:28:22 2013: Remaining 1.88 GiB
Fri Mar 1 22:29:22 2013: FreeBytes 227.69 GiB
Fri Mar 1 22:29:22 2013: Downloaded 0 B
Fri Mar 1 22:29:22 2013: Remaining 1.37 GiB
Fri Mar 1 22:29:22 2013: FreeBytes 227.69 GiB
Fri Mar 1 22:29:23 2013: Downloaded 0 B
Fri Mar 1 22:29:23 2013: Remaining 890.18 MiB
Fri Mar 1 22:29:23 2013: FreeBytes 227.69 GiB
Fri Mar 1 22:29:23 2013: Downloaded 0 B
Fri Mar 1 22:29:23 2013: Remaining 1.88 GiB


O, and wether this will finally work or not, I really appreciate all your help!
User avatar
google01103
Manager
Posts
6668
Karma
25

Fri Mar 01, 2013 10:22 pm
could you try dl'ing http://cdimage.ubuntu.com/kubuntu/relea ... p-i386.iso just to see if it runs, if so then just stop it

we're way outside my knowledge base but the line
Fri Mar 1 22:26:22 2013: Loading list of peers from /home/sebastian/.kde/share/apps/ktorrent/tor2/peer_list

just doesn't seem correct to me


OpenSuse Leap 42.1 x64, Plasma 5.x

sebastiang
Registered Member
Posts
9
Karma
0

Re: How do I get KTorrent to download

Fri Mar 01, 2013 10:40 pm
Yeah, the image started at about 110 kb/sec and the speed would have increased further hadn't I stopped the download...
The system works flawlessly, the internet connection is stable and no other app than KTorrent seems to have any trouble at all (and even KTorrent doesn't report any errors – I would've gladly reported any bug)...
As for the log entries: It's the first log of a torrent client I've seen (I only used transmission & uT on my macs & bittorrent on my xp-pc before, none of them gave me any headache)...
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: How do I get KTorrent to download

Fri Mar 01, 2013 10:54 pm
did you try that torrent with Ktorrent? or other client?


OpenSuse Leap 42.1 x64, Plasma 5.x

sebastiang
Registered Member
Posts
9
Karma
0

Re: How do I get KTorrent to download

Fri Mar 01, 2013 11:45 pm
No the link was direct dl via ff; but since then a most wondrous thing happened:
tried to dl the iso via torrent – again, nothing happened in KTorrent. I wanted to try 1 last time for today, again new network configuration and what not, came across some plugins & activated all with an useful name ;) I closed/restarted the app, opened the torrent and ura! there were seeders, there were leechers & there was a down speed!
Tried 3 other torrents now – all appear to work now, I got 450+ kibs :) :) :)
To be honest I understand the problem as little as before but I'm not complaining any more ;) thanks for all your time (without your help I would've quit a long time ago...)


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell