youegraillot / lidarr-on-steroids

Lidarr with some muscles thanks to deemix
333 stars 26 forks source link

Lidarr not recognising Deemix as indexer or download client #64

Closed kaibagley closed 1 year ago

kaibagley commented 1 year ago

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):

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!

robbtate commented 1 year ago

might be the cause https://github.com/youegraillot/lidarr-on-steroids/pull/62/commits/321d0eccf65f890a4b0918f204378e3e3b7f7764

kaibagley commented 1 year ago

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

kaibagley commented 1 year ago

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)

seasportsnetwork commented 1 year ago

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"

kaibagley commented 1 year ago

Duplicate of https://github.com/youegraillot/lidarr-on-steroids/issues/63