transmitter icon indicating copy to clipboard operation
transmitter copied to clipboard

First magnet link "in session"? gives 404 error

Open abs0 opened this issue 6 years ago • 4 comments

The first magnet link I open gives a 404 error showing a URL of the form: http://www.transmitter.web-extension/magnet%3A%3Fxt%3Durn%3Abtih%3A7KW5HVDIXUWV5XTOMIJLN6S4EAHQ5PJL

Its not immediately clear what a "session" might be here - restarting the browser does not trigger. Could be affected by cached DNS lookup?

abs0 avatar May 07 '18 06:05 abs0

hm, weird.

If it doesn't happen when restarting the browser, how else did you restart the "session"? Does refreshing the 404 page do anything?

valpackett avatar May 07 '18 12:05 valpackett

Whatever odd "session" behaviour has now gone away. Clicking on a magnet link now always fails with a 404 error showing a URL of the form http://transmitter.web-extension/magnet%3A%3Fxt%3Durn%3Abtih%3AJYJLRECEIZIC44VLXU2JVMF462NQSUNN

while right clicking on the link and selecting "Download with Transmission remote" always works.

Have tried disabling all other extensions. Firefox 63.0.3 on NetBSD/amd64

abs0 avatar Nov 19 '18 17:11 abs0

I see the same behaviour too. I dunno if you manage the Chrome Extension too but it doesn't do it there.

In Chrome, the download just starts in the background on transmission and doesn't attempt to open the Transmission Web UI.

Could you maybe stop trying to open the transmission web UI? I don't know why anyone would need this to happen on every magnet link click.

et304383 avatar Mar 22 '20 22:03 et304383

Could you maybe stop trying to open the transmission web UI?

Handling a URL scheme in an extension requires me to do something with the request. Redirecting to the web UI was the easiest thing to do. I guess a page that closes itself could be done too..

But anyway the 404 error on an internal transmitter.web-extension URL happens before that URL redirects to the web UI?? probably..

valpackett avatar Mar 23 '20 12:03 valpackett