unable to connect to console

General support for problems installing or using Deluge
deranjer
New User
New User
Posts: 6
Joined: Wed Jan 27, 2010 8:29 pm

unable to connect to console

Postby deranjer » Thu Jan 28, 2010 1:16 am

whenever I attempt to connect to the console using:

Code: Select all

# deluge -u console


It give me a few errors (such as bad password) but those clear up and it lets me type on the command prompt, but if I type:

Code: Select all

>>> connect localhost
Failed to connect to localhost:58846 with reason: Password does not match
>>> connect localhost test test
Failed to connect to localhost:58846 with reason: Username does not exist
>>> connect localhost view test
Failed to connect to localhost:58846 with reason: Username does not exist


I output everything to a log file, as follows:

Code: Select all

[ERROR   ] 20:05:35 client:375 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: daemon.login(localclient, fe8b666497e59f802fc26ecc5032734e5e884c76)
--------------------------------------------------------------------------------
  File "/usr/lib/python2.5/site-packages/deluge-1.2.0_rc5-py2.5.egg/deluge/core/rpcserver.py", line 245, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/deluge-1.2.0_rc5-py2.5.egg/deluge/core/authmanager.py", line 93, in authorize
    raise BadLoginError("Password does not match")

[ERROR   ] 20:05:55 client:375 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: daemon.login(test, test)
--------------------------------------------------------------------------------
  File "/usr/lib/python2.5/site-packages/deluge-1.2.0_rc5-py2.5.egg/deluge/core/rpcserver.py", line 245, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/deluge-1.2.0_rc5-py2.5.egg/deluge/core/authmanager.py", line 87, in authorize
    raise BadLoginError("Username does not exist")

BadLoginError: Username does not exist


Here is my auth file in .config/deluge:

Code: Select all

localclient:fe8b666497e59f802fc26ecc5032734e5e884c76:10
test:test:10
view:test:1


I was hoping someone could tell me what is wrong:
I am running deluge 1.2.0-rc5 on lenny lenny (with squeeze repos)
Thank you!

discmeister
Member
Member
Posts: 45
Joined: Sat Jul 03, 2010 7:20 pm

Re: unable to connect to console

Postby discmeister » Sat Jul 10, 2010 1:34 pm

Bounce. This is precisely the problem I'm having. I've seen discussions where people have concluded that whatever has caused this - not outlined anywhere, from what I can see - has been fixed in later versions of Deluge.

It hasn't.

Discy

hobbes487

Re: unable to connect to console

Postby hobbes487 » Fri Jul 16, 2010 4:50 am

same problem here. I am running 1.3.0rc1

ashirley

Re: unable to connect to console

Postby ashirley » Mon Jul 26, 2010 9:53 pm

fwiw, I get this error when I run deluged as a different linux user to deluge-console.

johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
OS or Distro: Arch Linux x86_64
Location: Sydney, Australia

Re: unable to connect to console

Postby johnnyg » Mon Jul 26, 2010 11:57 pm

I would say that the console isn't using the same config folder as the daemon (hence the bad password for localclient and the non-existant users).
This could either be due to you running deluged as a different user to deluge-console and/or using a non-default config for deluged.

Code: Select all

deluge-console -c <config folder>
should work.

KFrench
New User
New User
Posts: 3
Joined: Sat Apr 30, 2016 6:15 pm
OS or Distro: OSMC

Re: unable to connect to console

Postby KFrench » Sat Apr 30, 2016 6:16 pm

ashirley wrote:fwiw, I get this error when I run deluged as a different linux user to deluge-console.



Boom that was my problem. Awesome find.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 1 guest