youegraillot/lidarr-on-steroids

Lidarr not recognising Deemix as indexer or download client

kaibagley opened this issue · 5 comments

Describe the bug
Lidarr not seeing Deemix as download client or indexer

To Reproduce
Steps to reproduce the behavior:

  1. Fresh install of LoS
    OR
  2. Have LoS running and working as usual

Expected behavior
Lidarr and Deemix work together in harmony forever

System info (please complete the following information):

  • OS: Ubuntu Server 22.04
  • Container engine 24.0.5, build ced0996

docker-compose.yml (please complete the following information):

version: "3"
...
services:
lidarr:
    image: youegraillot/lidarr-on-steroids
    restart: unless-stopped
    ports:
      - "8686:8686" # Lidarr web UI
      - "6595:6595" # Deemix web UI
    volumes:
      - /server/lidarr/lidarr:/config
      - /server/lidarr/deemix:/config_deemix
      - /server/music/downloads:/downloads
      - /server/music/music:/music
      - ...

Additional context
LoS has been working perfectly for a week or so, downloaded 12k songs etc etc, and suddenly getting a red 4 next to System, saying it has no indexers, download clients, and update available.

Docker logs don't really say anything that didn't exist before, millions of lines of this:

[Info] Lidarr.Http.Authentication.ApiKeyAuthenticationHandler: AuthenticationScheme: API was challenged

Thanks for any help!

might be the cause 321d0ec

I'm using the latest docker image, updates over a month ago. Do you think that commit will fix the problem?

More logs i just noticed appearing:

`][autoconfig] Updating download client
[Error] Deemix: Test aborted due to exception

[v1.3.0.3322] System.Net.Http.HttpRequestException: Connection refused (localhost:6595)
---> System.Net.Sockets.SocketException (111): Connection refused
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.attemptConnection(AddressFamily addressFamily, SocketsHttpConnectionContext context, CancellationToken cancellationToken) in ./Lidarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 299
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.onConnect(SocketsHttpConnectionContext context, CancellationToken cancellationToken) in ./Lidarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 275
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellation(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken) at System.Net.Http.HttpMessageHandlerStage.Send(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpMessageHandlerStage.Send(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.SocketsHttpHandler.Send(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpMessageInvoker.Send(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.Send(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse(HttpRequest request, CookieContainer cookies) in ./Lidarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 101 at NzbDrone.Common.Http.HttpClient.ExecuteRequest(HttpRequest request, CookieContainer cookieContainer) in ./Lidarr.Common/Http/HttpClient.cs:line 141 at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in ./Lidarr.Common/Http/HttpClient.cs:line 59 at NzbDrone.Core.Download.Clients.Deemix.DeemixProxy.ProcessRequest(HttpRequestBuilder requestBuilder) at NzbDrone.Core.Download.Clients.Deemix.DeemixProxy.GetSettings(DeemixSettings settings) at NzbDrone.Core.Download.Clients.Deemix.Deemix.TestSettings() at NzbDrone.Core.Download.Clients.Deemix.Deemix.Test(List1 failures)
at NzbDrone.Core.Download.DownloadClientBase`1.Test() in ./Lidarr.Core/Download/DownloadClientBase.cs:line 113

[Warn] LidarrErrorPipeline: FluentValidation.ValidationException: Validation failed:
-- : Test was aborted due to an error: Connection refused (localhost:6595)`

And another similar one when connecting to indexer, ending with:

[Warn] LidarrErrorPipeline: FluentValidation.ValidationException: Validation failed: -- : Unable to connect to indexer, please check your DNS settings and ensure IPv6 is working or disabled. Connection refused (localhost:6595)

I am having this same issue. Looking at your log, it's pretty much identical. I've done a couple things and nothing has worked. I am thinking something has broke not within my control.

[Warn] LidarrErrorPipeline: FluentValidation.ValidationException: Validation failed:
-- : Test was aborted due to an error: Connection refused (localhost:6595)
-- : Test was aborted due to an error: Connection refused (localhost:6595)
[Warn] LidarrErrorPipeline: Invalid request Validation failed:
-- : Test was aborted due to an error: Connection refused (localhost:6595)
"errorMessage": "Test was aborted due to an error: Connection refused (localhost:6595)",
"severity": "error"

Duplicate of #63