Unable to connect to indexer(s) - Docker networking config issue?

Sonarr version (exact version): 3.0.6.1196
Mono version (if Sonarr is not running on Windows): 5.20.1.34
OS: Docker
Debug logs:
Description of issue: Sonarr unable to connect to indexer or NZBGet. Working to set up Docker containers, and while they seem to be running on their own ok, I can’t seem to get them talking to each other, or (in the case of NZBGet alone) able to resolve external server addresses. I’m definitely a bit new at Docker configurations, and would appreciate any tips on where to explore first. I’m hoping this is a broader networking issue in Docker configuration which might resolve all of my issues when fixed. Below is a snippet from the Sonarr log file which may give some clues?

Appreciate any tips!

21-6-19 10:40:23.6|Info|RssSyncService|Starting RSS Sync
21-6-19 10:40:23.8|Warn|FetchAndParseRssService|No available indexers. check your configuration.
21-6-19 10:40:23.8|Info|DownloadDecisionMaker|No results found
21-6-19 10:40:23.8|Info|RssSyncService|RSS Sync Completed. Reports found: 0, Reports grabbed: 0
21-6-19 10:55:26.0|Info|RssSyncService|Starting RSS Sync
21-6-19 10:55:26.0|Warn|FetchAndParseRssService|No available indexers. check your configuration.
21-6-19 10:55:26.0|Info|DownloadDecisionMaker|No results found
21-6-19 10:55:26.0|Info|RssSyncService|RSS Sync Completed. Reports found: 0, Reports grabbed: 0
21-6-19 11:07:54.2|Warn|Torznab|Unable to connect to indexer

[v3.0.6.1196] System.Net.WebException: Error getting response stream (ReadDoneAsync2): ReceiveFailure: 'http://192.168.1.220:9696/7/api?t=caps&apikey=(removed) —> System.Net.WebException: Error getting response stream (ReadDoneAsync2): ReceiveFailure
at System.Net.WebResponseStream.InitReadAsync (System.Threading.CancellationToken cancellationToken) [0x000f3] in <91935ad653254a93b9d73a9f8f2f7a2d>:0
at System.Net.WebOperation.Run () [0x001d9] in <91935ad653254a93b9d73a9f8f2f7a2d>:0
at System.Net.WebCompletionSource1[T].WaitForCompletion () [0x00094] in <91935ad653254a93b9d73a9f8f2f7a2d>:0 at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <91935ad653254a93b9d73a9f8f2f7a2d>:0 at System.Net.HttpWebRequest.GetResponse () [0x00016] in <91935ad653254a93b9d73a9f8f2f7a2d>:0 at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x00123] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:81 --- End of inner exception stack trace --- at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x001bb] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:107 at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookieContainer) [0x00086] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Http\HttpClient.cs:126 at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00008] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Http\HttpClient.cs:59 at NzbDrone.Common.Http.HttpClient.Get (NzbDrone.Common.Http.HttpRequest request) [0x00007] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Http\HttpClient.cs:281 at NzbDrone.Core.Indexers.Newznab.NewznabCapabilitiesProvider.FetchCapabilities (NzbDrone.Core.Indexers.Newznab.NewznabSettings indexerSettings) [0x000a1] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Indexers\Newznab\NewznabCapabilitiesProvider.cs:64 at NzbDrone.Core.Indexers.Newznab.NewznabCapabilitiesProvider+<>c__DisplayClass4_0.<GetCapabilities>b__0 () [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Indexers\Newznab\NewznabCapabilitiesProvider.cs:36 at NzbDrone.Common.Cache.Cached1[T].Get (System.String key, System.Func1[TResult] function, System.Nullable1[T] lifeTime) [0x000b1] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Cache\Cached.cs:104
at NzbDrone.Core.Indexers.Newznab.NewznabCapabilitiesProvider.GetCapabilities (NzbDrone.Core.Indexers.Newznab.NewznabSettings indexerSettings) [0x00020] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Indexers\Newznab\NewznabCapabilitiesProvider.cs:36
at NzbDrone.Core.Indexers.Torznab.Torznab.get_PageSize () [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Indexers\Torznab\Torznab.cs:23
at NzbDrone.Core.Indexers.Torznab.Torznab.GetRequestGenerator () [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Indexers\Torznab\Torznab.cs:27
at NzbDrone.Core.Indexers.HttpIndexerBase`1[TSettings].TestConnection () [0x00007] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:335

21-6-19 11:07:54.2|Warn|SonarrErrorPipeline|Invalid request Validation failed:
– : Unable to connect to indexer, check the log for more details

Generate all your docker composes
https://trash-guides.info/compose/

im going to presume that 192.168.1.220 is the host ip address, and not the newznab containers ip address.

if your containers are all on the same internal docker network then you should be able to use the container names to connect instead of ip addresses

eg http://newznab:9696 (presuming newznab is the name of the container) should work from the sonarr container - again, presuming they are both on the same network

failing that you can connect to the container and find out what ip address its using

if not then as bakerboy448 mentioned, wed need to see your docker/container configs

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