Welcome, Guest

Author Topic: Problems with Torrent-Download  (Read 2210 times)

Potato

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Problems with Torrent-Download
« on: December 18, 2016, 11:51:19 AM »
Hello,

I'm trying to download images. What am I doing wrong? I tried commandline clients bittorrent and ctorrent.

bittorrent says:
These errors occurred during execution:
[10:32:40] Problem connecting to tracker - <urlopen error unknown url type: udp>

ctorrent says:
...
Listening on 0.0.0.0:2706
error, invalid tracker url format!
error, tracker setup failed.

Trying to download some Debian Images from Debian works. I'n not experienced in using torrent, so if you got some magic options for me.

See attached my complete console log for details.

Thanks a lot


------------------
Complete Log:

helge@albit:~/olinuxino$ btdownloadcurses http://cdimage.debian.org/debian-cd/8.6.0/amd64/bt-cd/debian-8.6.0-amd64-netinst.iso.torrent
 --------------------------------------------------------------------------------------------------------
| file:     debian-8.6.0-amd64-netinst.iso                                                               |
| size:     258,998,272 (247.0  M)                                                                       |
| dest:     /home/helge/olinuxino/debian-8.6.0-amd64-netinst.iso                                         |
| progress: ############################################################################################ |
| status:   download succeeded!                                                                          |
| speed:      0    B/s down -   0    B/s up                                                              |
| totals:   242.3  M   down -   0.0  M   up                                                              |
| error(s):                                                                                              |
 --------------------------------------------------------------------------------------------------------
helge@albit:~/olinuxino$ btdownloadcurses https://www.olimex.com/wiki/images/e/e8/A20-lime2_mainline_uboot_sunxi_kernel_3.4.103_jessie_NAND_rel_9.torrent
 --------------------------------------------------------------------------------------------------------
| file:     a20-lime2_mainline_uboot_sunxi_kernel_3.4.103_jessie_NAND_rel_9.img.7z                       |
| size:     451,466,613 (430.6  M)                                                                       |
| dest:     /home/helge/olinuxino/a20-lime2_mainline_uboot_sunxi_kernel_3.4.103_jessie_NAND_rel_9.img.7z |
| progress: ____________________________________________________________________________________________ |
| status:   connecting to peers (0.0%)                                                                   |
| speed:      0    B/s down -   0    B/s up                                                              |
| totals:     0.0  M   down -   0.0  M   up                                                              |
| error(s): [10:32:40] Problem connecting to tracker - <urlopen error unknown url type: udp>             |
 --------------------------------------------------------------------------------------------------------
These errors occurred during execution:
[10:32:40] Problem connecting to tracker - <urlopen error unknown url type: udp>
helge@albit:~/olinuxino$ ls -lhs
insgesamt 247M
   0 -rw-r--r-- 1 helge helge    0 Dez 18 10:32 a20-lime2_mainline_uboot_sunxi_kernel_3.4.103_jessie_NAND_rel_9.img.7z
247M -rw-r--r-- 1 helge helge 247M Dez 18 10:34 debian-8.6.0-amd64-netinst.iso
helge@albit:~/olinuxino$ rm a20-lime2_mainline_uboot_sunxi_kernel_3.4.103_jessie_NAND_rel_9.img.7z
helge@albit:~/olinuxino$ wget https://www.olimex.com/wiki/images/e/e8/A20-lime2_mainline_uboot_sunxi_kernel_3.4.103_jessie_NAND_rel_9.torrent
helge@albit:~/olinuxino$ ctorrent A20-lime2_mainline_uboot_sunxi_kernel_3.4.103_jessie_NAND_rel_9.torrent
META INFO
Announce: udp://zer0day.ch:1337
Alternates:
 1. udp://explodie.org:6969
 2. udp://p4p.arenabg.com:1337
 3. udp://p4p.arenabg.ch:1337
 4. udp://tracker.openbittorrent.com:80/announce
 5. udp://tracker.leechers-paradise.org:6969
 6. udp://tracker.coppersurfer.tk:6969
 7. udp://tracker.publicbt.com:80/announce
Created On: Thu Nov 17 10:01:23 2016
Piece length: 262144
Created with: qBittorrent v2.9.8
FILES INFO
<1> a20-lime2_mainline_uboot_sunxi_kernel_3.4.103_jessie_NAND_rel_9.img.7z [451466613]
Total: 430 MB
Creating file "a20-lime2_mainline_uboot_sunxi_kernel_3.4.103_jessie_NAND_rel_9.img.7z"
Listening on 0.0.0.0:2706
error, invalid tracker url format!
error, tracker setup failed.
helge@albit:~/olinuxino$
« Last Edit: December 18, 2016, 11:53:49 AM by Potato »

LubOlimex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1982
  • Karma: +50/-3
Re: Problems with Torrent-Download
« Reply #1 on: December 20, 2016, 02:24:02 PM »
We are using a number of public torrent trackers and also we seed all the time. If there are 0 peers listed at your side then the chances are that your network is blocking the torrent protocol. If you are trying to download it in a work environment then contact your network administrator and ask to download the torrent for you or, alternatively, try to download it at home. Make sure that the torrent protocol and ports are allowed by your ISP. If you have doubts, please, contact your ISP and explain the situation. If you are at home then try with another torrent client.

We used the have direct downloads before but the problem was that a lot of bot programs abused the direct downloads. This triggered hidden download limits and ultimately lead to greater unavailability of the files (remember that most of the images are very large). Most customers requested that we use a torrent system instead.

<BIG-EDIT> The problem is that your torrent client does not support UDP connections to the trackers (probably supports only HTTP). Our torrents use only UDP. The other torrent that you tried has HTTP for sure. Try with another torrent client and enable the UDP connection to the trackers. We would probably add some HTTP tracker links in future to avoid cases like this.


Best regards,
Lub/OLIMEX
 
« Last Edit: December 20, 2016, 04:39:28 PM by LubOlimex »
Technical support and documentation manager at Olimex

Potato

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Problems with Torrent-Download
« Reply #2 on: December 21, 2016, 04:51:01 AM »
OK, I used qBittorrent from Debian Jessie and it worked! Jessies ctorrent and bittorrent did not!

Thanks a lot for your answer!

igorpec

  • Jr. Member
  • **
  • Posts: 98
  • Karma: +18/-0
Re: Problems with Torrent-Download
« Reply #3 on: September 30, 2018, 10:38:50 AM »
ctorrent seems to be broken. Try this way:

Code: [Select]
apt -y install aria2
wget https://dl.armbian.com/lime2/Debian_stretch_next.7z.torrent
aria2c Debian_stretch_next.7z.torrent
linux for ARM development boards
www.armbian.com