Magnet links are not working

Ask for help and report issues with the Mac OS X version of Transmission
Post Reply
Stevejme
Posts: 2
Joined: Mon Jun 02, 2014 11:01 am

Magnet links are not working

Post by Stevejme »

Hi everyone,

About two weeks ago Transmission would no longer download magnet links. Whenever I action a link I get the following message:
Screen Shot 2014-06-02 at 9.02.36 pm.png
Screen Shot 2014-06-02 at 9.02.36 pm.png (17.06 KiB) Viewed 100377 times
I don't have any issue downloading normal torrent files. I also don't have any issue using magnet links with uTorrent. The problem is just with Transmission.

I'm using Transmission 2.83 on a Mac OS X 10.9.3.

Any help would be greatly appreciated!

Thanks,

Steve
mkdoqup9
Posts: 2
Joined: Mon Jun 02, 2014 7:59 pm

Re: Magnet links are not working

Post by mkdoqup9 »

I have the same problem, using the same version of Transmission and the same OS and starting at about the same time. (Wasn't that about the time Apple released the OS upgrade to 10.9.3?)

I'm not sure how to debug torrent problems but I see that all four of the trackers show these errors: "announce error: connection failed" and "scraper error: connection failed."

No peers are appearing in the Peers inspector panel.

Any help would be gratefully received.
Stevejme
Posts: 2
Joined: Mon Jun 02, 2014 11:01 am

Re: Magnet links are not working

Post by Stevejme »

Ok magnet links are now working but I'm not sure if this is how I fixed it:

1. First I changed the save location of torrents to my desktop. I then changed it back to its original location (downloads).

2. I then turned off the firewall within Mac OS System Preferences, then turned it back on.

3. I then did a restart.

4. After the restart, when I went into Network section of Transmission Preferences, I noticed that the peer listening port that I had always been using (51413) was appearing as closed. I clicked 'randomise' so that it choose a random port, then I changed the port back to 51413. Transmission then decided that 51413 was open! Before the restart port 51413 had been appearing as open.

5. Then all of my magnet links started downloading.

I'm not sure if steps 1-2 (changing save location and firewall) really did anything. There could be a bug with how Transmission is treating the peer listening port, displaying it as open when in fact it's having some sort of issue which may have been fixed with a restart.

Good luck!

Steve
mkdoqup9
Posts: 2
Joined: Mon Jun 02, 2014 7:59 pm

Re: Magnet links are not working

Post by mkdoqup9 »

Thanks for the your description. I did items 1, 2, and 3. After the restart, the downloads from magnet links started to work for me, too. Go figure.
blinding
Posts: 29
Joined: Mon Mar 07, 2016 12:48 am

Re: Magnet links are not working

Post by blinding »

Also seeing this problem. Some magnet links just sit there. It never downloads the meta data (size and file names). There are lots of 100% seeds connected and in the "D" state. No connection problems as other torrents start and download to completion while this is happening.

If I stop and then restart the daemon then the hung torrent begins downloading normally. Also, if I remove the torrent and then redo it, from the same link, then it will also begin processing normally.

It only happens a few times a week.

Transmission 2.84 on Ubuntu.
Last edited by blinding on Tue Mar 22, 2016 10:47 pm, edited 1 time in total.
cfpp2p
Posts: 290
Joined: Sat Aug 08, 2009 3:14 pm

Re: Magnet links are not working

Post by cfpp2p »

blinding wrote:Also seeing this problem. Some magnet links just sit there. It never downloads the meta data (size and file names). There are lots of 100% seeds connected and in the "D" state. No connection problems as other torrents start and download to completion while this is happening.

If I stop and then restart the daemon then the hung torrent begins downloading normally. Also, if I remote the torrent and then redo it, from the same link, then it will also begin processing normally.

It only happens a few times a week.

Transmission 2.84 on Ubuntu.
This could be related to a couple of problems that I have found.
1.) https://trac.transmissionbt.com/ticket/4078#comment:4

2.) if the acquired metadata pieces are determined to be bad we just keep retrying the same over and over. So that might be why stopping and restarting fixes it.

I've had good results with patching like this for 2.77:
https://github.com/cfpp2p/transmission/ ... 3a84a1ddee
https://github.com/cfpp2p/transmission/ ... 4ce0673632
https://github.com/cfpp2p/transmission/ ... 0f68e7b84f

You should try 2.92 as one item of this has been fixed by https://trac.transmissionbt.com/ticket/6048 but I think you'd always see a crash then, not a stall.

To get the meta data (size and file names) in a workaround way you could try using the web client with https://trac.transmissionbt.com/ticket/6096, but that wouldn't be any fun compared to the Transmission Mac interface.

When there are hung magnet links will any newly added magnet links still work while there are hung ones?
Post Reply