Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

magnet links can prevent aria2c from using mirrors #73

poeml opened this issue Jun 5, 2015 · 0 comments

magnet links can prevent aria2c from using mirrors #73

poeml opened this issue Jun 5, 2015 · 0 comments


Copy link

@poeml poeml commented Jun 5, 2015

                                                                                [          ]

Issue migrated (2015-06-05) from old issue tracker

Title    magnet links can prevent aria2c from using mirrors
 Priority   critical              Status       resolved
Superseder                      Nosy List      poeml
Assigned To poeml                Keywords      torrents

msg275 (view) Author: poeml Date: 2010-09-23.16:29:25

With 2.13.0, aria2c, as used with openSUSE, hangs when downloading via metalinks
like this:

% curl -s '' | gi torrent

The magnet links have the same priority as the highest mirror, but aria2c
doesn't use the mirrors in that case.

I have added nomagnets.patch to the openSUSE package as a workaround, to disable
magnet links in Metalinks.

msg289 (view) Author: poeml Date: 2010-09-25.02:38:10

I'm not sure if the magnet links are broken - or what is the reason why aria2c
tries only them and not one of all the mirrors, and neither the web seeds (which
consist of mirrors as well).

I'm wondering whether the magnet links should get priority 99 (one less than the
highest mirror), so a mirror is preferred or at least tried.

msg295 (view) Author: poeml Date: 2010-09-25.21:31:54

I have added the Apache config directive MirrorBrainMetalinkMagnetLinks which
defaults to Off for the moment. If not set to On, the magnet links in Metalinks
are suppressed.

This makes the patch in the openSUSE buildservice package obsolete, and fixes
the issue for the other platforms.

Fixed in trunk, and I'm going to roll a release soon. The fix will be in 2.13.3.

  • The Magnet links embedded in Metalinks could causes aria2c to wait a long
    time on P2P connections, and not try the listed mirrors anymore (issue #73).
    The links are no longer included for the moment, unless
    MirrorBrainMetalinkMagnetLinks On is set in the Apache configuration.
         Date         User  Action             Args
2010-09-25 21:31:55 poeml set    status: chatting -> resolved
                                   messages: + msg295
2010-09-25 02:38:10 poeml set    status: unread -> chatting
                                   messages: + msg289
2010-09-23 16:29:26 poeml create

(end of migrated issue)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant