[Resolved] Indexer : Issue when adding a cookie

Hi,

The indexer cookie is used for accessing to the download link right ?
Or is it used for the RSSFeed too ?

When Sonarr try to get the download link, it is redirect to a login page and failed. Normal. (feed doesnt need credentials)

But everytime I try to add a cookie, I always get a Out or Range Exception…
What is the good format ?

Thanks a lot.

    15-8-10 11:53:55.6|Warn|TorrentRssIndexer|Unable to connect to indexer: L'index se trouve en dehors des limites du tableau.

System.IndexOutOfRangeException: L'index se trouve en dehors des limites du tableau.
   à NzbDrone.Common.Http.HttpRequest.AddCookie(String cookies) dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\HttpRequest.cs:ligne 86
   à NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexerRequestGenerator.<GetRssRequests>d__0.MoveNext() dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\TorrentRss\TorrentRssIndexerRequestGenerator.cs:ligne 53
   à System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   à NzbDrone.Core.Indexers.TorrentRss.TorrentRssSettingsDetector.Detect(TorrentRssIndexerSettings indexerSettings) dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\TorrentRss\TorrentRssSettingsDetector.cs:ligne 44
   à NzbDrone.Core.Indexers.TorrentRss.TorrentRssParserFactory.DetectParserSettings(TorrentRssIndexerSettings indexerSettings) dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\TorrentRss\TorrentRssParserFactory.cs:ligne 55
   à NzbDrone.Core.Indexers.TorrentRss.TorrentRssParserFactory.<>c__DisplayClass2.<GetParser>b__1() dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\TorrentRss\TorrentRssParserFactory.cs:ligne 32
   à NzbDrone.Common.Cache.Cached`1.Get(String key, Func`1 function, Nullable`1 lifeTime) dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Cache\Cached.cs:ligne 87
   à NzbDrone.Core.Indexers.TorrentRss.TorrentRssParserFactory.GetParser(TorrentRssIndexerSettings indexerSettings) dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\TorrentRss\TorrentRssParserFactory.cs:ligne 32
   à NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexer.GetParser() dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\TorrentRss\TorrentRssIndexer.cs:ligne 38
   à NzbDrone.Core.Indexers.HttpIndexerBase`1.TestConnection() dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:ligne 221

15-8-10 11:53:55.7|Trace|NzbDroneErrorPipeline|Handling Exception
15-8-10 11:53:55.7|Warn|NzbDroneErrorPipeline|Invalid request Validation failed: 
 -- Unable to connect to indexer, check the log for more details

Which feed are you trying to connect to?

My feed is from a private tracker.
It doesnt need auth. But the download link need a cookie.

We’re going to be able to help more if we know which private tracker.
Whats the format of the cookie you’re using? Sonarr expects one or more cookies, separated by ; in the format: key=value. IE: key1=value1;key2=value2

Thanks !!!

15-8-11 07:11:44.1|Debug|ReleaseRestrictionsSpecification|Checking if release meets restrictions: True.Detective.S02E07.VOSTFR.HDTV.x264-CherryCoke
15-8-11 07:11:44.1|Debug|ReleaseRestrictionsSpecification|[True.Detective.S02E07.VOSTFR.HDTV.x264-CherryCoke] No restrictions apply, allowing
15-8-11 07:11:44.1|Debug|QualityAllowedByProfileSpecification|Checking if report meets quality requirements. SDTV v1
15-8-11 07:11:44.1|Debug|MinimumAgeSpecification|Not checking minimum age requirement for non-usenet report
15-8-11 07:11:44.2|Debug|RetentionSpecification|Not checking retention requirement for non-usenet report
15-8-11 07:11:44.2|Debug|DelaySpecification|Profile does not require a waiting period before download for Torrent.
15-8-11 07:11:44.2|Debug|HistorySpecification|Comparing history quality with report. History is HDTV-720p v1
15-8-11 07:11:44.2|Debug|QualityUpgradableSpecification|existing item has better or equal quality. skipping
15-8-11 07:11:44.3|Debug|DownloadDecisionMaker|Release rejected for the following reasons: [Permanent] English is wanted, but found French, [Permanent] Existing file in history is of equal or higher quality: HDTV-720p v1
15-8-11 07:11:44.3|Trace|HttpClient|Req: [GET] http://www.frenchtorrentdb.com/?section=DOWNLOAD&id=673143&rss=1
15-8-11 07:11:44.9|Trace|HttpClient|Res: [GET] http://www.frenchtorrentdb.com/?section=DOWNLOAD&id=673143&rss=1 : 302.Redirect (614 ms)
15-8-11 07:11:44.9|Trace|Deluge|Torrent request is being redirected to: /?section=INFOS&id=673143
15-8-11 07:11:45.0|Warn|ProcessDownloadDecisions|Couldn’t add report to download queue. True.Detective.S02E08.FINAL.FASTSUB.VOSTA.720p.HDTV.x264-CherryCoke

System.UriFormatException: URI non valide : Impossible d’analyser le nom d’hôte.
à System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
à System.Uri…ctor(String uriString)
à System.UriBuilder…ctor(String uri)
à NzbDrone.Common.Http.HttpRequest…ctor(String url, HttpAccept httpAccept) dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\HttpRequest.cs:ligne 13
à NzbDrone.Core.Download.TorrentClientBase1.DownloadFromWebUrl(RemoteEpisode remoteEpisode, String torrentUrl) dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\TorrentClientBase.cs:ligne 102 à NzbDrone.Core.Download.TorrentClientBase1.DownloadFromWebUrl(RemoteEpisode remoteEpisode, String torrentUrl) dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\TorrentClientBase.cs:ligne 121
à NzbDrone.Core.Download.TorrentClientBase1.Download(RemoteEpisode remoteEpisode) dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\TorrentClientBase.cs:ligne 85 à NzbDrone.Core.Download.DownloadService.DownloadReport(RemoteEpisode remoteEpisode) dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\DownloadService.cs:ligne 57 à NzbDrone.Core.Download.ProcessDownloadDecisions.ProcessDecisions(List1 decisions) dans m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\ProcessDownloadDecisions.cs:ligne 76

I just notice that the last scanned torrent, isnt the downloaded one.
But no matter.

Thanks for your help. The cookie works fine now. The issue is on my tracker side. The download link redirect to info page… :@

Not sure if there is a problem with the cookies(s) being sent, the tracker doesn’t like something about the request or its trying to prevent automation, but thats odd. Perhaps there is another cookie that needs to be sent?

I think it’s to avoid automation (but why providing the link to download so?)
I will try it manually this evening, I supposed it will be the same…
I need to find another good tracker for “VOSTFR”.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.