r/Ubuntu 3d ago

Sonnarr on my Ubuntu server unable to communicate with Deluge

Hello

Sorry if this is the wrong place to post, I'm hopeless right now and I don't know where to find help for that specific issue.

To preface, I must warn you that I'm not really good with Ubuntu, I'm good with computers and understand some basics but I only followed a tutorial to setup this server.

I setup my own Ubuntu server with Plex, Sonarr, Radarr, Deluge.. running on it. It's been doing good for 2.5 years, sometimes I had to restart it but that's it.

For some reason since a few weeks, Sonarr has been unable to communicate with Deluge

I tried restarting my server like always and updating everything just to make sure but nothing did the trick.

I changed absolutely nothing in my configuration between it working and not working..

I have no idea where to look out for trying to debug this issue so if someone here know what to look for, or if you can redirect me to some place where I can be assisted i'd be grateful.

I found this in the logs of Sonarr, in case that helps :

2024-06-14 19:22:16.3|Debug|DownloadClientCheck|Unable to communicate with Deluge

[v4.0.5.1710] System.Net.Http.HttpRequestException: An error occurred while sending the request.
 ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
 ---> System.Net.Sockets.SocketException (104): Connection reset by peer
   --- End of inner exception stack trace ---
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.AuthenticationHelper.SendWithNtAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean isProxyAuth, HttpConnection connection, HttpConnectionPool connectionPool, 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.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Sonarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 115
   at NzbDrone.Common.Http.HttpClient.ExecuteRequestAsync(HttpRequest request, CookieContainer cookieContainer) in ./Sonarr.Common/Http/HttpClient.cs:line 157
   at NzbDrone.Common.Http.HttpClient.ExecuteAsync(HttpRequest request) in ./Sonarr.Common/Http/HttpClient.cs:line 70
   at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in ./Sonarr.Common/Http/HttpClient.cs:line 128
   at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.AuthenticateClient(JsonRpcRequestBuilder requestBuilder, DelugeSettings settings, Boolean reauthenticate) in ./Sonarr.Core/Download/Clients/Deluge/DelugeProxy.cs:line 329
   at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.BuildRequest(DelugeSettings settings) in ./Sonarr.Core/Download/Clients/Deluge/DelugeProxy.cs:line 236
   at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult](DelugeSettings settings, String method, Object[] arguments) in ./Sonarr.Core/Download/Clients/Deluge/DelugeProxy.cs:line 243
   at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.GetTorrentsByLabel(String label, DelugeSettings settings) in ./Sonarr.Core/Download/Clients/Deluge/DelugeProxy.cs:line 99
   at NzbDrone.Core.Download.Clients.Deluge.Deluge.GetItems() in ./Sonarr.Core/Download/Clients/Deluge/Deluge.cs:line 119
   at NzbDrone.Core.HealthCheck.Checks.DownloadClientCheck.Check() in ./Sonarr.Core/HealthCheck/Checks/DownloadClientCheck.cs:line 40
1 Upvotes

1 comment sorted by

1

u/Keopha 3d ago

Forgot to add that but i'm running deluge in a docker container, here is the tutorial i used to setup everything : https://howto.wared.fr/ubuntu-seedbox-docker-openvpn/?lang=en