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


#21

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


#22

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

cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 hostname.domain.com hostname


#23

Do not remove the following line, or various programs

that require network functionality will fail.

127.0.0.1 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


#24

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


#25

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


#26

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.


#27

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


#28

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


#29

You should have two Jackett folders:

/home/user/.config/Jackett
/home/user/Jackett


#30

i had the .config folder but not the user one


#31

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

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

#32

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


#33

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


#34

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.


#35

I have never had to mess with the auth bits…just use “http://localhost:9117” in place of the http://host.domain.com/ 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.


#36

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.


#37

Im running the current version as installed today. No matter what i put in i get the same style of output.
https://xx.xx.xx.xx:9117/torznab/iptorrents
http://xx.xx.xx.xx:9117/torznab/iptorrents
https://xx.xx.xx.xx:9117/jackett/torznab/iptorrents
http://xx.xx.xx.xx:9117/jackett/torznab/iptorrents


#38

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.


#39

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!


#40

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