2.0.0.dev7395 - Cant connect from webui. Sonarr cant connect to webui either

General support for problems installing or using Deluge
Post Reply
falkaub
New User
New User
Posts: 2
Joined: Tue Nov 27, 2018 5:21 pm

2.0.0.dev7395 - Cant connect from webui. Sonarr cant connect to webui either

Post by falkaub »

Updated to latest dev build.

Deluge webui cannot connect or see the deluged server. Either a textless red X pops up or nothing happens. At that point i cant delete entries in Connection Manager window.
(I can still connect from other PC with Deluge 2.0b1 thinclient)

Web-ui error log:

Code: Select all

[ERROR   ][deluge.ui.web.json_api     :0   ] Error calling method `web.get_host_status`: 'tuple' object has no attribute 'addCallback'
[ERROR   ][deluge.ui.web.json_api     :0   ] 'tuple' object has no attribute 'addCallback'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 160, in _handle_request
result = self._exec_local(method, params, request)
File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 122, in _exec_local
return meth(*params)
File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 785, in get_host_status
return self.hostlist.get_host_status(host_id).addCallback(response)
ttributeError: 'tuple' object has no attribute 'addCallback'
Sonarr log when it tries to connect to the webui:

Code: Select all

NzbDrone.Core.Download.Clients.DownloadClientException: Failed to connect to Deluge daemon.
  at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ConnectDaemon (NzbDrone.Common.Http.JsonRpcRequestBuilder requestBuilder) [0x0009e] in <85e2f5295c104ca3a3bcaa59e805585a>:0 
  at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.AuthenticateClient (NzbDrone.Common.Http.JsonRpcRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.Boolean reauthenticate) [0x000c8] in <85e2f5295c104ca3a3bcaa59e805585a>:0 
  at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult] (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.String method, System.Object[] arguments) [0x00038] in <85e2f5295c104ca3a3bcaa59e805585a>:0 
  at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.GetVersion (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x00000] in <85e2f5295c104ca3a3bcaa59e805585a>:0 
  at NzbDrone.Core.Download.Clients.Deluge.Deluge.TestConnection () [0x0000c] in <85e2f5295c104ca3a3bcaa59e805585a>:0 
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: 2.0.0.dev7395 - Cant connect from webui. Sonarr cant connect to webui either

Post by Cas »

Looks like it might be an issue with the host_id. You could confirm with enabling warning logging.

Also check the web.conf daemon id matches hostlist.conf

Sonarr uses a custom Deluge client that will need to be updated for Deulge 2.0
Post Reply