deluge-web cannot authenticate to deluged.

General support for problems installing or using Deluge
Post Reply
wimvandijck
New User
New User
Posts: 4
Joined: Tue Oct 07, 2014 7:58 pm

deluge-web cannot authenticate to deluged.

Post by wimvandijck »

Hi,

trying to get deluge to run, installed from source on osx.
Darwin Kernel Version 13.4.0
Python 2.7.8

After a clean install, i launch deluged in one tab, and deluge-web, in another, default configuration.
Visiting the url, I enter the default password, upon which the web interface cannot connect to the daemon.

The deluge-web process gives the following output:
56:44.785 [INFO ][deluge.ui.client :213 ] Connecting to daemon at "localhost:58846"...
21:56:44.790 [INFO ][deluge.ui.client :111 ] Connected to daemon at 127.0.0.1:58846..
21:56:44.790 [DEBUG ][deluge.ui.client :374 ] __on_connect called
21:56:44.819 [INFO ][deluge.ui.client :111 ] Connected to daemon at 127.0.0.1:58846..
21:56:44.819 [DEBUG ][deluge.ui.client :374 ] __on_connect called
21:56:44.825 [DEBUG ][deluge.ui.client :378 ] Got info from daemon: 1.3.900-dev
21:56:44.825 [DEBUG ][deluge.ui.client :573 ] Client.connect.on_connected. Daemon version: 1.3.900-dev
21:56:44.825 [DEBUG ][deluge.ui.client :393 ] DaemonSSLProxy.authenticate:
21:56:44.826 [DEBUG ][deluge.ui.client :378 ] Got info from daemon: 1.3.900-dev
21:56:44.826 [DEBUG ][deluge.ui.client :573 ] Client.connect.on_connected. Daemon version: 1.3.900-dev
21:56:44.826 [DEBUG ][deluge.ui.client :393 ] DaemonSSLProxy.authenticate:
21:56:44.829 [DEBUG ][deluge.ui.client :181 ] RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: daemon.login(, d2617e8350318655d54e93615f303dad0ba52ccc, client_version=1.3.900-dev)
--------------------------------------------------------------------------------
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/deluge-1.3.900_dev-py2.7.egg/deluge/core/rpcserver.py", line 264, in dispatch
ret = component.get("AuthManager").authorize(*args, **kwargs)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/deluge-1.3.900_dev-py2.7.egg/deluge/core/authmanager.py", line 130, in authorize
"Username and Password are required.", username

AuthenticationRequired: Username and Password are required.
--------------------------------------------------------------------------------
21:56:44.829 [DEBUG ][deluge.ui.client :417 ] _on_login_fail(): Username and Password are required.
21:56:44.829 [DEBUG ][deluge.ui.client :568 ] Failed to authenticate: Username and Password are required.

Checking the source files, it seems the web ui is not passing a username and password. Is this something that needs to be configured? I did not find anything about that.

cheers
Wim
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: deluge-web cannot authenticate to deluged.

Post by Cas »

The password is being passed: "RPCRequest: daemon.login(, d2617e8350318655d54e93615f303dad0ba52ccc, client_version=1.3.900-dev)" but from that line it is clear you are not using the correct source: http://dev.deluge-torrent.org/wiki/GitR ... geBranches
wimvandijck
New User
New User
Posts: 4
Joined: Tue Oct 07, 2014 7:58 pm

Re: deluge-web cannot authenticate to deluged.

Post by wimvandijck »

Excellent! Thanks for this most speedy and to the point reply.
I switched to 1.3-stable and it works.

Thanks!
Post Reply