Can't search for new series, can't find episodes, can't update

Hi

I get “There Was An Error Searching For XYZ” when trying to add a new series. Does anyone have any suggestions as to what may be the cause of the problem?

Running on macOS High Sierra

Message
Error: ConnectFailure (The requested address is not valid in this context): ‘http://skyhook.sonarr.tv/v1/tvdb/search/en/?term=the blacklist’: Error: ConnectFailure (The requested address is not valid in this context): ‘http://skyhook.sonarr.tv/v1/tvdb/search/en/?term=the blacklist’

Exception
System.Net.WebException: Error: ConnectFailure (The requested address is not valid in this context): ‘http://skyhook.sonarr.tv/v1/tvdb/search/en/?term=the blacklist’ —> System.Net.WebException: Error: ConnectFailure (The requested address is not valid in this context) —> System.Net.Sockets.SocketException: The requested address is not valid in this context
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000fb] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/Socket.cs:884
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0016d] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/WebConnection.cs:187
— End of inner exception stack trace —
at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00059] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/HttpWebRequest.cs:1031
at System.Net.HttpWebRequest.GetResponse () [0x0000e] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/HttpWebRequest.cs:1043
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000f6] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:63
— End of inner exception stack trace —
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x0019e] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:91
at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000b5] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\Dispatchers\FallbackHttpDispatcher.cs:53
at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request) [0x0007e] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\HttpClient.cs:119
at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\HttpClient.cs:55
at NzbDrone.Common.Http.HttpClient.Get (NzbDrone.Common.Http.HttpRequest request) [0x00007] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\HttpClient.cs:220
at NzbDrone.Common.Http.HttpClient.Get[T] (NzbDrone.Common.Http.HttpRequest request) [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\HttpClient.cs:225
at NzbDrone.Core.MetadataSource.SkyHook.SkyHookProxy.SearchForNewSeries (System.String title) [0x000d3] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\MetadataSource\SkyHook\SkyHookProxy.cs:92

Looks like the DNS server is possibly returning an invalid address for skyhook.sonarr.tv and it fails when trying to connect. Are you able to open that address in your browser from the same system?

Yes, it opens without a hitch. Shows a bunch of information about the show.

Just now i noticed, as well, that the update page doesn’t load when trying to update Sonarr.

Which version of Sonarr is installed?
What do the trace logs show?

Sorry for taking so long to reply. This is what the trace logs show.

18-3-17 23:49:05.8|Trace|Http|Req: 180 [GET] /api/series/lookup?term=the+blacklist
18-3-17 23:49:05.8|Trace|HttpClient|Req: [GET] http://skyhook.sonarr.tv/v1/tvdb/search/en/?term=the%20blacklist
18-3-17 23:49:05.8|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False'
18-3-17 23:49:05.8|Warn|SkyHookProxy|Error: ConnectFailure (The requested address is not valid in this context): 'http://skyhook.sonarr.tv/v1/tvdb/search/en/?term=the blacklist'

[v2.0.0.5153] System.Net.WebException: Error: ConnectFailure (The requested address is not valid in this context): 'http://skyhook.sonarr.tv/v1/tvdb/search/en/?term=the blacklist' ---> System.Net.WebException: Error: ConnectFailure (The requested address is not valid in this context) ---> System.Net.Sockets.SocketException: The requested address is not valid in this context
  at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000fb] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net.Sockets/Socket.cs:884 
  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0016d] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/WebConnection.cs:187 
   --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00059] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/HttpWebRequest.cs:1031 
  at System.Net.HttpWebRequest.GetResponse () [0x0000e] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/HttpWebRequest.cs:1043 
  at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000f6] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:63 
   --- End of inner exception stack trace ---
  at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x0019e] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:91 
  at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000b5] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\Dispatchers\FallbackHttpDispatcher.cs:53 
  at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request) [0x0007e] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\HttpClient.cs:119 
  at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\HttpClient.cs:55 
  at NzbDrone.Common.Http.HttpClient.Get (NzbDrone.Common.Http.HttpRequest request) [0x00007] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\HttpClient.cs:220 
  at NzbDrone.Common.Http.HttpClient.Get[T] (NzbDrone.Common.Http.HttpRequest request) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\HttpClient.cs:225 
  at NzbDrone.Core.MetadataSource.SkyHook.SkyHookProxy.SearchForNewSeries (System.String title) [0x000d3] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MetadataSource\SkyHook\SkyHookProxy.cs:92 

18-3-17 23:49:05.8|Trace|NzbDroneErrorPipeline|Handling Exception
18-3-17 23:49:05.8|Trace|Http|Res: 180 [GET] /api/series/lookup?term=the+blacklist: 503.ServiceUnavailable (33 ms)
18-3-17 23:49:05.8|Debug|Api|[GET] /api/series/lookup?term=the+blacklist: 503.ServiceUnavailable (33 ms)
18-3-17 23:49:08.2|Trace|Http|Req: 181 [GET] /api/health
18-3-17 23:49:08.2|Trace|Http|Res: 181 [GET] /api/health: 200.OK (4 ms)
18-3-17 23:49:08.2|Debug|Api|[GET] /api/health: 200.OK (4 ms)
18-3-17 23:49:08.2|Trace|Http|Req: 182 [GET] /api/diskspace
18-3-17 23:49:08.2|Trace|ConfigService|Using default config value for 'downloadedepisodesfolder' defaultValue:''
18-3-17 23:49:08.3|Trace|Http|Res: 182 [GET] /api/diskspace: 200.OK (13 ms)
18-3-17 23:49:08.3|Debug|Api|[GET] /api/diskspace: 200.OK (13 ms)
18-3-17 23:49:10.3|Trace|Http|Req: 183 [GET] /api/log?page=1&pageSize=50&sortKey=time&sortDir=desc
18-3-17 23:49:10.3|Trace|Http|Res: 183 [GET] /api/log?page=1&pageSize=50&sortKey=time&sortDir=desc: 200.OK (15 ms)
18-3-17 23:49:10.3|Debug|Api|[GET] /api/log?page=1&pageSize=50&sortKey=time&sortDir=desc: 200.OK (15 ms)
18-3-17 23:49:14.4|Trace|Http|Req: 184 [GET] /api/log/file
18-3-17 23:49:14.4|Trace|Http|Res: 184 [GET] /api/log/file: 200.OK (2 ms)
18-3-17 23:49:14.4|Debug|Api|[GET] /api/log/file: 200.OK (2 ms)
18-3-17 23:49:14.4|Trace|Http|Req: 185 [GET] /api/log/file/sonarr.trace.txt

(Updated post title to reflect the situation below)

Version: 2.0.0.5153
Mono Version: 5.10.0.160

Hrmm, seems like my entire install of Sonarr (as well as Radarr) has broken down.

Currently I can’t

  1. Add new series
  2. Update Sonarr through the GUI
  3. Search for episodes

And - the calendar was not showing ANY future episodes of the series that i had added.

Tried a fresh install but that did not help. Now I’m on a clean install without any of the essentials working.

Any help would be greatly appreciated!

Do you have a proxy set in Sonarr? (General settings)

The address being requested looks fine, not sure what’s tripping it up, but I seem to recall a similar problem when a proxy was set with a bad address, though not 100% sure.

Unfortunately not…

I am having the same issue. Did you ever figure out what the problem was?

I have also been getting this. I can’t figure it out. The URL works fine in Firefox, Chrome and Edge

18-5-2 23:01:01.0|Warn|SkyHookProxy|The operation has timed out

[v2.0.0.5169] System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetResponse()
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse(HttpRequest request, CookieContainer cookies) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:line 95
   at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse(HttpRequest request, CookieContainer cookies) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\Dispatchers\FallbackHttpDispatcher.cs:line 53
   at NzbDrone.Common.Http.HttpClient.ExecuteRequest(HttpRequest request, CookieContainer cookieContainer) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\HttpClient.cs:line 121
   at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\HttpClient.cs:line 57
   at NzbDrone.Common.Http.HttpClient.Get[T](HttpRequest request) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\HttpClient.cs:line 269
   at NzbDrone.Core.MetadataSource.SkyHook.SkyHookProxy.SearchForNewSeries(String title) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MetadataSource\SkyHook\SkyHookProxy.cs:line 92

18-5-2 23:01:01.1|Debug|Api|[GET] /api/series/lookup?term=Taskmaster: 503.ServiceUnavailable (100125 ms)
18-5-2 23:01:53.7|Debug|Api|[GET] /api/queue?sort_by=timeleft&order=asc: 200.OK (0 ms)
18-5-2 23:01:59.6|Debug|Api|[GET] /api/config/indexer: 200.OK (46 ms)
18-5-2 23:01:59.6|Debug|Api|[GET] /api/config/downloadclient: 200.OK (46 ms)
18-5-2 23:01:59.6|Debug|Api|[GET] /api/config/mediamanagement: 200.OK (46 ms)
18-5-2 23:01:59.7|Debug|Api|[GET] /api/config/naming: 200.OK (78 ms)
18-5-2 23:01:59.7|Debug|Api|[GET] /api/config/ui: 200.OK (15 ms)
18-5-2 23:01:59.7|Debug|Api|[GET] /api/config/host: 200.OK (0 ms)
18-5-2 23:01:59.8|Debug|Api|[GET] /api/notification: 200.OK (171 ms)
18-5-2 23:01:59.9|Debug|Api|[GET] /api/profile: 200.OK (15 ms)
18-5-2 23:02:00.0|Debug|Api|[GET] /api/delayprofile: 200.OK (31 ms)

OK, so after all the other browsers, I tested the URL in IE afterwards. There was a significant delay but I finally got a response. Afterwards, Sonarr’s series search started working. Don’t know if it was just coincidence or it fixed some DNS resolution?!

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