Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonarr - Cant connect to indexer #39

Open
TheGreatDoc opened this issue Nov 4, 2023 · 15 comments · Fixed by #41 or #43
Open

Sonarr - Cant connect to indexer #39

TheGreatDoc opened this issue Nov 4, 2023 · 15 comments · Fixed by #41 or #43
Assignees
Labels
bug Something isn't working sonarr

Comments

@TheGreatDoc
Copy link

TheGreatDoc commented Nov 4, 2023

Im unable to add amarr as indexer, Im getting this error in sonarr:

2023-11-04 12:52:25.9|Warn|HttpClient|HTTP Error - Res: [GET] http://amarr:8080/indexer/aMule/api?t=caps: 404.NotFound (0 bytes)
2023-11-04 12:52:25.9|Warn|Torznab|Unable to connect to indexer

[v3.0.10.1567] NzbDrone.Common.Http.HttpException: HTTP request failed: [404:NotFound] [GET] at [http://amarr:8080/indexer/aMule/api?t=caps]
  at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00154] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Http\HttpClient.cs:105 
  at NzbDrone.Common.Http.HttpClient.Get (NzbDrone.Common.Http.HttpRequest request) [0x00007] in C:\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 C:\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 C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Indexers\Newznab\NewznabCapabilitiesProvider.cs:36 
  at NzbDrone.Common.Cache.Cached`1[T].Get (System.String key, System.Func`1[TResult] function, System.Nullable`1[T] lifeTime) [0x000b1] in C:\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 C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Indexers\Newznab\NewznabCapabilitiesProvider.cs:36 
  at NzbDrone.Core.Indexers.Torznab.Torznab.get_PageSize () [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Indexers\Torznab\Torznab.cs:23 
  at NzbDrone.Core.Indexers.Torznab.Torznab.GetRequestGenerator () [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Indexers\Torznab\Torznab.cs:27 
  at NzbDrone.Core.Indexers.HttpIndexerBase`1[TSettings].TestConnection () [0x00007] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:336 


2023-11-04 12:52:25.9|Warn|SonarrErrorPipeline|Invalid request Validation failed: 
@TheGreatDoc TheGreatDoc changed the title Option to change listening port Cant connect to indexer Nov 4, 2023
@vexdev vexdev self-assigned this Nov 5, 2023
@vexdev
Copy link
Owner

vexdev commented Nov 5, 2023

Looks like an issue in the documentation, please try with lowercase amule in the URL:
http://amarr:8080/indexer/amule

It should also work like this:
http://amarr:8080

@vexdev vexdev linked a pull request Nov 5, 2023 that will close this issue
@vexdev vexdev closed this as completed in #41 Nov 5, 2023
@TheGreatDoc
Copy link
Author

Sorry to post again here, but now I get this:

No rss feed query available. This may be an issue with the indexer or your indexer category settings.

This is how I try to add it:

image

I have selected the amarr download client (is down in the scroll and I didnt want to upload another capture just for that)

@vexdev
Copy link
Owner

vexdev commented Nov 6, 2023

Is this Radarr or Sonarr? What version?

@vexdev vexdev reopened this Nov 6, 2023
@vexdev
Copy link
Owner

vexdev commented Nov 6, 2023

Sorry, just noticed it's Sonarr, can you tell me the version?

@vexdev vexdev changed the title Cant connect to indexer Sonarr - Cant connect to indexer Nov 6, 2023
@vexdev vexdev added bug Something isn't working sonarr labels Nov 6, 2023
@TheGreatDoc
Copy link
Author

Version
 3.0.10.1567
Package Version
 3.0.10.1567-ls185 by [linuxserver.io](https://linuxserver.io/)
Mono Version 6.12.0.182

I just saw that amarr is only tested with AdunanzA, and Im running the ngosang/amule docker image.

Maybe thats the problem?

@vexdev vexdev linked a pull request Nov 6, 2023 that will close this issue
@vexdev vexdev closed this as completed in #43 Nov 6, 2023
@vexdev
Copy link
Owner

vexdev commented Nov 6, 2023

Nope it should work perfectly with amule standard. There was at least a bug with Sonarr (I'm mainly testing it with Radarr), I just fixed it and should work as soon as version 1.5.3 becomes available (Should be in few minutes)
But will keep this open until I get your confirmation

@vexdev vexdev reopened this Nov 6, 2023
@TheGreatDoc
Copy link
Author

I can add it now, but only if categories field is All and if host is set to http://amarr:8080

If host includes /indexer/amule or categories is not All, same error happens.

BUT, I dont feel is working correctly. An interactive search for an episode (from Sonarr) doesnt return anything.
Also, I have an episode (the one I've tried to do the interactive search) in the amule queue (as a manual search from amule does return the episode) and its not showing in the Sonarr queue.

This new problem could be an entirely new issue, so Im going to change amarr loglevel to debug and check if something is happening and will let you know

BTW, very thanks for your quick responses!!!!

@TheGreatDoc
Copy link
Author

Update:

I've put amarr in debug mode. When I do a search in Sonarr, nothing happens in the amarr log.

The only I get is some kind of queue update (which doesnt show in Sonarr queue)

Do you want me to pastebin the amarr debug log?

@Marcosaurios
Copy link

@TheGreatDoc hey, when you open the aMule UI, have you tried connecting to a different aMule server? Is the server giving back to you a high id or a low id? (you chs check that on the bottom right bar giving you the connection status).

Connecting to a different server fixed the issue to me, and I was able to get results back from any "Search" done in radarr. For sonarr probably it's the same

@TheGreatDoc
Copy link
Author

@Marcosaurios Yes, I have high id and tried different servers.

I just tested in radarr and it works correctly, but in sonarr it doesnt.

@TheGreatDoc
Copy link
Author

@vexdev Maybe you could take a look to that?

@riffsphereha
Copy link

Have the same issue in sonarr. Tried some v3 setup (didn't check exact version) and v4.0.0.733.

In the logs I can find this error:
|Debug|NewznabRequestGenerator|Indexer capabilities lacking season & ep query parameters, no Standard series search possible: amarr

So it seems for sonarr to work the indexer needs extra features that are currently not there.

Working fine with radarr, lidarr and readarr

@pwntester
Copy link

Same problem here,works fine with radarr but not with sonarr 😞

@xabileiro
Copy link

Same here

@vexdev
Copy link
Owner

vexdev commented May 1, 2024

Hi all, a quick update: looks like Sonarr is expecting a slightly different API than Radarr is. I'm working on the compatibility and I believe this should fix it for Lidarr as well. Will keep you posted in the next days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sonarr
Projects
None yet
6 participants