Sonarr version (exact version): 2.0.0.4146 & 2.0.0.4230 Mono version (if Sonarr is not running on Windows): Mono JIT compiler version 4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16 13:19:08 UTC 2016) OS: Debian GNU/Linux 8.5 (jessie ((Debug logs)) (posted to hastebin or similar): Description of issue:
I’ve been unable to add BitMeTV’s RSS feed to Sonarr. I’ve tried to with the last two versions. I’ve tried it with or without the cookie set. It always just returns an Index Out of Bounds error. Should I just use Jacket instead? Please let me know if you need any more information.
16-7-8 18:57:52.0|Warn|BitMeTv|Unable to connect to indexer
[v2.0.0.4230] System.IndexOutOfRangeException: Index was outside the bounds of the array.
at NzbDrone.Common.Http.HttpHeader+<>c.<ParseCookies>b__21_1 (System.String[] v) <0x409ac780 + 0x00024> in <filename unknown>:0
at (wrapper delegate-invoke) System.Func`2[System.String[],System.Collections.Generic.KeyValuePair`2[System.String,System.String]]:invoke_TResult_T (string[])
at System.Linq.Enumerable+<CombineSelectors>c__AnonStorey1B`3[TSource,TMiddle,TResult].<>m__0 (TSource x) <0x409ac310 + 0x0004e> in <filename unknown>:0
at (wrapper delegate-invoke) System.Func`2[System.String,System.Collections.Generic.KeyValuePair`2[System.String,System.String]]:invoke_TResult_T (string)
at System.Linq.Enumerable+WhereSelectArrayIterator`2[TSource,TResult].MoveNext () <0x409ac1a0 + 0x00090> in <filename unknown>:0
at System.Collections.Generic.List`1[T]..ctor (IEnumerable`1 collection) <0x40791630 + 0x00294> in <filename unknown>:0
at System.Linq.Enumerable.ToList[TSource] (IEnumerable`1 source) <0x407915a0 + 0x00047> in <filename unknown>:0
at NzbDrone.Common.Http.HttpHeader.ParseCookies (System.String cookies) <0x409ab750 + 0x00233> in <filename unknown>:0
at NzbDrone.Core.Indexers.BitMeTv.BitMeTvRequestGenerator+<GetRssRequests>d__10.MoveNext () <0x409ab390 + 0x00183> in <filename unknown>:0
at System.Linq.Enumerable.First[TSource] (IEnumerable`1 source) <0x40667790 + 0x000be> in <filename unknown>:0
at NzbDrone.Core.Indexers.HttpIndexerBase`1[TSettings].TestConnection () <0x409a9e40 + 0x000cb> in <filename unknown>:0
16-7-8 18:57:52.0|Warn|NzbDroneErrorPipeline|Invalid request Validation failed: ^M
-- Unable to connect to indexer, check the log for more details
Ok, I tried various combinations of that and the error changed.
16-7-9 12:36:18.7|Warn|BitMeTv|Unable to connect to indexer
[v2.0.0.4230] System.Xml.XmlException: '0' is an unexpected token. The expected token is '"' or '''. Line 214, position 38.
at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) <0x40aff160 + 0x000a3> in <filename unknown>:0
at System.Xml.XmlTextReaderImpl.Throw (System.String res, System.String[] args) <0x40afec70 + 0x000ab> in <filename unknown>:0
at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken (System.String expectedToken1, System.String expectedToken2) <0x40afe8c0 + 0x000d7> in <filename unknown>:0
at System.Xml.XmlTextReaderImpl.ParseAttributes () <0x405c6a10 + 0x0066b> in <filename unknown>:0
at System.Xml.XmlTextReaderImpl.ParseElement () <0x405c3d10 + 0x0044f> in <filename unknown>:0
at System.Xml.XmlTextReaderImpl.ParseElementContent () <0x405c4bc0 + 0x002d7> in <filename unknown>:0
at System.Xml.XmlTextReaderImpl.Read () <0x405bf140 + 0x00057> in <filename unknown>:0
at System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader r) <0x40663b20 + 0x0059f> in <filename unknown>:0
at System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader r, LoadOptions o) <0x40662d70 + 0x00057> in <filename unknown>:0
at System.Xml.Linq.XDocument.Load (System.Xml.XmlReader reader, LoadOptions options) <0x40662a00 + 0x0024b> in <filename unknown>:0
at System.Xml.Linq.XDocument.Load (System.Xml.XmlReader reader) <0x409c94d0 + 0x0000f> in <filename unknown>:0
at NzbDrone.Core.Indexers.RssParser.LoadXmlDocument (NzbDrone.Core.Indexers.IndexerResponse indexerResponse) <0x409c5c50 + 0x001a3> in <filename unknown>:0
16-7-9 12:36:18.7|Warn|NzbDroneErrorPipeline|Invalid request Validation failed:
-- Unable to connect to indexer, check the log for more details
Nevermind! It works now! My passkey had changed. Also, part of my issue was I was going to the Settings and show me my cookies and just pulling the single cookie value out of that… So thanks for clearing that up!
For those looking on how to fix this:
Grab your uid and passkey from the RSS URL and put those in UserId and RSS Passkey boxes, then open up your browser’s Developers Tools --> Network --> Requested Headers. In there you’ll see :