Error when using 'Add to download queue (Override Delay Profile)'

I get the error [POST] Internal Server Error: /api/queue/grab when trying to add something to the download queue that is pending. This is from the log:

Message

Request Failed: Invalid torrent file specified

Exception

MonoTorrent.TorrentException: Invalid torrent file specified β€”> MonoTorrent.BEncoding.BEncodingException: Could not find what value to decode
at MonoTorrent.BEncoding.BEncodedValue.Decode(RawReader reader) in m:\BuildAgent\work\328d72309b633a8\src\MonoTorrent\BEncoding\IBEncodedValue.cs:line 142
at MonoTorrent.BEncoding.BEncodedValue.Decode(Stream stream) in m:\BuildAgent\work\328d72309b633a8\src\MonoTorrent\BEncoding\IBEncodedValue.cs:line 99
at MonoTorrent.Torrent.Load(Stream stream, String path) in m:\BuildAgent\work\328d72309b633a8\src\MonoTorrent\Torrent.cs:line 701
β€” End of inner exception stack trace β€”
at MonoTorrent.Torrent.Load(Stream stream, String path) in m:\BuildAgent\work\328d72309b633a8\src\MonoTorrent\Torrent.cs:line 711
at MonoTorrent.Torrent.Load(Byte data) in m:\BuildAgent\work\328d72309b633a8\src\MonoTorrent\Torrent.cs:line 556
at NzbDrone.Core.MediaFiles.TorrentInfo.TorrentFileInfoReader.GetHashFromTorrentFile(Byte fileContents) in m:\BuildAgent\work\328d72309b633a8\src\NzbDrone.Core\MediaFiles\TorrentInfo\TorrentFileInfoReader.cs:line 15
at NzbDrone.Core.Download.TorrentClientBase1.DownloadFromWebUrl(RemoteEpisode remoteEpisode, String torrentUrl) in m:\BuildAgent\work\328d72309b633a8\src\NzbDrone.Core\Download\TorrentClientBase.cs:line 127 at NzbDrone.Core.Download.TorrentClientBase1.Download(RemoteEpisode remoteEpisode) in m:\BuildAgent\work\328d72309b633a8\src\NzbDrone.Core\Download\TorrentClientBase.cs:line 80
at NzbDrone.Core.Download.DownloadService.DownloadReport(RemoteEpisode remoteEpisode) in m:\BuildAgent\work\328d72309b633a8\src\NzbDrone.Core\Download\DownloadService.cs:line 44
at NzbDrone.Api.Queue.QueueActionModule.Grab() in m:\BuildAgent\work\328d72309b633a8\src\NzbDrone.Api\Queue\QueueActionModule.cs:line 89
at NzbDrone.Api.Queue.QueueActionModule.<.ctor>b__5(Object x) in m:\BuildAgent\work\328d72309b633a8\src\NzbDrone.Api\Queue\QueueActionModule.cs:line 37
at CallSite.Target(Closure , CallSite , Func`2 , Object )
at Nancy.Routing.Route.<>c__DisplayClass4.b__3(Object parameters, CancellationToken context)

Which indexer and torrent client are you using?

Using Deluge with Kickass. I have uTorrent installed if you would like me to test on that. I can’t see the torrent when I search manually anymore. Maybe it was taken down? Could that cause this error?

I was thinking it might be taken down (was thinking EZTV) I’ll see what I can do to reproduce this, but I think its likely because it was taken down (we should have better handling of it though).

I found a couple issues with KAT and fixed them, should have a new build later today. Not sure exactly where you issue comes from, but it might be one of these fixed issues.

1 Like