altHUB - 403.Forbidden

Version 2.0.0.5163
Mono Version 4.0.2
macOS High Sierra Version 10.13.14

Evening all,

I would like some help with an issue I have been coming across for altHub Indexer. When testing the indexers I get a ‘Unable to connect to indexer, check the log for more details’ error message.

When I check the logs it looks like there is a HTTPClient error, along with some more, but issue seems to be 403.forbidden. Se below for more info.

I am a bit of a newby at this and not 100% sure if I am totally misinterpreting the error.

Any assistance would be greatly appreciated.

PowerMan

18-6-8 22:25:03.4|Warn|HttpClient|HTTP Error - Res: [GET] https://api.althub.co.za?t=caps&apikey=(removed) 403.Forbidden
18-6-8 22:25:03.5|Warn|Newznab|Unable to connect to indexer

[v2.0.0.5163] NzbDrone.Common.Http.HttpException: HTTP request failed: [403:Forbidden] [GET] at [https://api.althub.co.za?t=caps&apikey=(removed) at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00129] in

Please link to the debug log as requested, a snippet is not sufficient.

@markus101 sorry I didn’t realise the snippet wasn’t enough. I have attached the code below.

18-6-12 14:24:29.4|Warn|Newznab|Unable to connect to indexer

[v2.0.0.5163] System.Xml.XmlException: Unexpected declaration markup was found.  Line 1, position 3.
  at Mono.Xml2.XmlTextReader.ReadDeclaration () [0x0006d] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr2/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.2/mcs/class/System.XML/System.Xml/XmlTextReader.cs:2240 
  at Mono.Xml2.XmlTextReader.ReadContent () [0x00128] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr2/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.2/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1277 
  at Mono.Xml2.XmlTextReader.Read () [0x00141] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr2/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.2/mcs/class/System.XML/System.Xml/XmlTextReader.cs:572 
  at System.Xml.XmlTextReader.Read () [0x0006b] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr2/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.2/mcs/class/System.XML/System.Xml/XmlTextReader2.cs:563 
  at Mono.Xml.XmlFilterReader.Read () [0x00000] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr2/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.2/mcs/class/System.XML/Mono.Xml/XmlFilterReader.cs:232 
  at System.Xml.Linq.XDocument.ReadContent (System.Xml.XmlReader reader, LoadOptions options) [0x0000b] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr2/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.2/mcs/class/System.Xml.Linq/System.Xml.Linq/XDocument.cs:154 
  at System.Xml.Linq.XDocument.LoadCore (System.Xml.XmlReader reader, LoadOptions options) [0x00006] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr2/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.2/mcs/class/System.Xml.Linq/System.Xml.Linq/XDocument.cs:147 
  at System.Xml.Linq.XDocument.Load (System.IO.TextReader textReader, LoadOptions options) [0x00021] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr2/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.2/mcs/class/System.Xml.Linq/System.Xml.Linq/XDocument.cs:126 
  at System.Xml.Linq.XDocument.Parse (System.String text, LoadOptions options) [0x00000] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr2/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.2/mcs/class/System.Xml.Linq/System.Xml.Linq/XDocument.cs:186 
  at System.Xml.Linq.XDocument.Parse (System.String text) [0x00000] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr2/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.2/mcs/class/System.Xml.Linq/System.Xml.Linq/XDocument.cs:181 
  at NzbDrone.Core.Indexers.Newznab.NewznabCapabilitiesProvider.ParseCapabilities (NzbDrone.Common.Http.HttpResponse response) [0x00006] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Indexers\Newznab\NewznabCapabilitiesProvider.cs:88 
  at NzbDrone.Core.Indexers.Newznab.NewznabCapabilitiesProvider.FetchCapabilities (NzbDrone.Core.Indexers.Newznab.NewznabSettings indexerSettings) [0x0009d] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Indexers\Newznab\NewznabCapabilitiesProvider.cs:67 

18-6-12 14:24:29.4|Warn|NzbDroneErrorPipeline|Invalid request Validation failed: 
 -- Unable to connect to indexer, check the log for more details

We mention that in the Help & Support template.

Looks like they’re returning something other than the expected XML. Debug logs will show the URL Sonarr is using, putting that URL in a browser should show what Sonarr is receiving.

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