Sonarr won't Connect to Deluge

Sonarr version (exact version): 2.0.0.4731
Mono version (if Sonarr is not running on Windows):
OS: Windows 8.1
((Debug logs)): https://pastebin.com/byEZiymx
(Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here)
Description of issue: Recently, Sonarr is unable to connect to Deluge and also Deluge WebUI won’t connect either going to local host. The Deluge client is working and up, but neither Sonarr or the Deluge WebUI will work. The test in Sonarr returns with “Unknown exception: The server committed a protocol violation. Section=ResponseStatusLine” Also in the log I get this error
"Unable to retrieve queue and history items from Deluge: The server committed a protocol violation. Section=ResponseStatusLine"

With the Except message of
"System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine
at System.Net.HttpWebRequest.GetResponse()
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse(HttpRequest request, CookieContainer cookies) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:line 76
at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse(HttpRequest request, CookieContainer cookies) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\Dispatchers\FallbackHttpDispatcher.cs:line 60
at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\HttpClient.cs:line 70
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.AuthenticateClient(JsonRpcRequestBuilder requestBuilder, DelugeSettings settings, Boolean reauthenticate) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\Deluge\DelugeProxy.cs:line 258
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.BuildRequest(DelugeSettings settings) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\Deluge\DelugeProxy.cs:line 171
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult](DelugeSettings settings, String method, Object[] arguments) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\Deluge\DelugeProxy.cs:line 178
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.GetTorrentsByLabel(String label, DelugeSettings settings) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\Deluge\DelugeProxy.cs:line 80
at NzbDrone.Core.Download.Clients.Deluge.Deluge.GetItems() in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\Deluge\Deluge.cs:line 88
at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientDownloads(IDownloadClient downloadClient) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\TrackedDownloads\DownloadMonitoringService.cs:line 86"

Any help is greatly appreciated. Love this program!

Are you trying to get Sonarr to connect to the https port and don’t have https enabled in Sonarr’s settings for Deluge or vice versa?

Thanks for the reply. I do not have https enabled in Sonarr nor Deluge. I used to be able to connect to the web ui via localhost:38081, but not I get an error page.


Sounds like whatever the problem is it’s on the Deluge side.

Thanks Markus…that was exactly the problem. My Incoming network port in Deluge was set 38081 for some reason and this was causing the issue. As soon as I changed the range back, the Web Gui started working again. Thanks for the guidance.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.