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

Invalid torrent file specified error kickasstorrents (torcache) #799

Closed
sleeuwen opened this issue Sep 13, 2015 · 5 comments
Closed

Invalid torrent file specified error kickasstorrents (torcache) #799

sleeuwen opened this issue Sep 13, 2015 · 5 comments

Comments

@sleeuwen
Copy link

Every time sonarr tries to download a torrent file I get a warning saying

Couldn't add report to download queue. [NAME]: Invalid torrent file specified

I think this is due to the fact torcache.net returns an html page where you need to wait 5s before you can download the torrent file.

Some guys from the couchpotato project solved this here

Basically torcache.net checks the Referer header and if it is https://torcache.net/ it will return the torrent file.

Exception:

MonoTorrent.TorrentException: Invalid torrent file specified ---> MonoTorrent.BEncoding.BEncodingException: Could not find what value to decode
  at MonoTorrent.BEncoding.BEncodedValue.Decode (MonoTorrent.BEncoding.RawReader reader) [0x00000] in <filename unknown>:0 
  at MonoTorrent.BEncoding.BEncodedValue.Decode (System.IO.Stream stream) [0x00000] in <filename unknown>:0 
  at MonoTorrent.Torrent.Load (System.IO.Stream stream, System.String path) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at MonoTorrent.Torrent.Load (System.IO.Stream stream, System.String path) [0x00000] in <filename unknown>:0 
  at MonoTorrent.Torrent.Load (System.Byte[] data) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.MediaFiles.TorrentInfo.TorrentFileInfoReader.GetHashFromTorrentFile (System.Byte[] fileContents) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Download.TorrentClientBase`1[NzbDrone.Core.Download.Clients.TorrentBlackhole.TorrentBlackholeSettings].DownloadFromWebUrl (NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode, System.String torrentUrl) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Download.TorrentClientBase`1[NzbDrone.Core.Download.Clients.TorrentBlackhole.TorrentBlackholeSettings].Download (NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Download.DownloadService.DownloadReport (NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Download.ProcessDownloadDecisions.ProcessDecisions (System.Collections.Generic.List`1 decisions) [0x00000] in <filename unknown>:0 
@minthat
Copy link

minthat commented Sep 14, 2015

+1 I am also having this issue with Kickass Torrents!

@Taloth
Copy link
Member

Taloth commented Sep 14, 2015

We know guys, no need to 'me too'.

We're first trying to contact torcache to see if we can agree on a real solution instead of ugly spoofing.

@minthat
Copy link

minthat commented Sep 18, 2015

How are things going? Have they made a commitment to changing things up?

@edorgeville
Copy link

As of now it would be a great thing to implement the hack as the CouchPotato guys did waiting for TorCache's answer.

@minthat
Copy link

minthat commented Sep 19, 2015

If anything, include it in the next dev update! 👯

@Taloth Taloth closed this as completed in 57afa66 Sep 21, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants