Sonarr - Unable to connect to indexer, check the log for more details

Yes it is an ip I’ll try reinstallling when I get home from work

I would also check your /etc/hosts to make sure its correct before reinstalling.

cat /etc/hosts localhost hostname

Do not remove the following line, or various programs

that require network functionality will fail. localhost.localdomain localhost
(main ip removed from here) .net ns513330
2607:5300:0060:70ec:: .net ns513330

Localhost seems to work when it comes to setting up sickrage or couchpotato etc etc so tbh I don’t know why it wouldn’t work here

I would try the uninstall, trash the Jackett dir and reinstall.

Okie dokie I’ll give it a shot never used sonarr before but hear it blows sickrage away so wanting to give it a shot

Wellllll, that’s stretching things a tad bit. The UI is much cleaner, however; their lack of supporting TV packs is why SickRage is still a go-to for most. Sonarr could (and more than likely will be) be a sure replacement in the future. I am still waiting for it to be a matter of aesthetic before I make the move.

1 Like

Maybe I won’t go to all the trouble just yet then sickrage is doing the job might still work on jackett though just as a way to keep my trackers in check

Sorry I just uninstall ed jacket but I can’t locate the jackett folder it’s not in my user folder and it’s not in /opt so I have no idea where it is but it’s definitely around somewhere because upon reinstall jackett all my settings persist

You should have two Jackett folders:


i had the .config folder but not the user one

Did this get resolved? Even after a removal i keep getting this error in sonarr?
NzbDrone.Common.Http.HttpException: HTTP request failed: [401:Unauthorized] [GET] at [https://xx.xx.xx.xx/jackett/torznab/tvchaosuk/api?t=tvsearch&cat=5030,5040&extended=1&apikey=xxxxxxxxxxxxxxxxxxxxxx&offset=0&limit=100]
at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x001a1] in :0
at NzbDrone.Core.Indexers.HttpIndexerBase1[TSettings].FetchIndexerResponse (NzbDrone.Core.Indexers.IndexerRequest request) [0x00058] in <16f9d0ac1b4b4545a818312139cdf850>:0 at NzbDrone.Core.Indexers.HttpIndexerBase1[TSettings].FetchPage (NzbDrone.Core.Indexers.IndexerRequest request, NzbDrone.Core.Indexers.IParseIndexerResponse parser) [0x00000] in <16f9d0ac1b4b4545a818312139cdf850>:0
at NzbDrone.Core.Indexers.HttpIndexerBase`1[TSettings].TestConnection () [0x00024] in <16f9d0ac1b4b4545a818312139cdf850>:0

401 Unauthorized


This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Apache/2.4.18 (Ubuntu) Server at xx.xx.xx.xx Port 443 Close

For a handful of users this works for connecting the 2 just fine:

jackett is communicating over https, if i change to http it shows connection refused. The only thing that i can think of is this seems be failing is due to using htaccess and sonarr not being able to handle that request correctly

It is happening due to the port forwarding as it is not listening on port 443. Another issue could be the fact that it is requesting auth before access. So you may need to remove the require auth bits from those two applications apache configs.

I have never had to mess with the auth bits…just use “http://localhost:9117” in place of the portion. You can’t just take the URL out of Jackett as is because it will not work. It requires taking that url and modifying it for Sonarr.

Correct, the auth bits are just another measure for anyone that thinks one way or another. As you stated, http://localhost:{port} is the only way I have ever been able to connect the 2.

Im running the current version as installed today. No matter what i put in i get the same style of output.

Two points here:

  1. No https, its http
  2. you need ‘localhost’ and not xx.xx.xx.xx

use it EXACTLY as we have it.

sorry im putting in xx.xx to mask my ip.
ok you win that worked… im an idiot! once i have this all running expect a donation. This is fantastic work!

1 Like

You’re not an idiot… @RXWatcher just has that way of being smarter than the rest of us :stuck_out_tongue: