Error while using webui

General support for problems installing or using Deluge
Post Reply
junxuan
Member
Member
Posts: 13
Joined: Mon Aug 11, 2008 10:07 am

Error while using webui

Post by junxuan »

i went to console to start web ui with deluge --ui web. And continued to access normally thru localhost:portnumber. After ilogin, deluge tells me that im not connected to a daemon, so i selected 192.168.1.2:58846 and press connect and this error mesage occured. Could anyone help me out?

Code: Select all

--Deluge Error--
IOError : unsupported XML-RPC protocol
path : /connect
file : /var/lib/python-support/python2.5/deluge/xmlrpclib.py in __init__, line 1413

--Input--
<Storage {'other_uri': '', 'uri': '192.168.1.2:58846', 'submit': 'Connect'}>

--Versions--
WebUi : 1.1.0r
Python 2.5.2 (r252:60911, Oct  5 2008, 19:24:49) 
[GCC 4.3.2]:

--Traceback--
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 310, in wsgifunc
    result = func()
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 61, in handle
    return tocall(*([x and urllib.unquote(x) for x in args] + fna))
  File "/var/lib/python-support/python2.5/deluge/ui/webui/pages.py", line 321, in POST
    utils.daemon_connect(uri)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/utils.py", line 198, in daemon_connect
    sclient.set_core_uri(uri)
  File "/var/lib/python-support/python2.5/deluge/ui/client.py", line 318, in set_core_uri
    return self.core.set_core_uri(uri)
  File "/var/lib/python-support/python2.5/deluge/ui/client.py", line 184, in set_core_uri
    self.get_rpc_core()
  File "/var/lib/python-support/python2.5/deluge/ui/client.py", line 193, in get_rpc_core
    self.rpc_core = xmlrpclib.ServerProxy(self._uri.replace("localhost", "127.0.0.1"), allow_none=True, transport=Transport())
  File "/var/lib/python-support/python2.5/deluge/xmlrpclib.py", line 1414, in __init__
    raise IOError, "unsupported XML-RPC protocol"



Nameless
Member
Member
Posts: 16
Joined: Thu Mar 13, 2008 6:52 pm

Re: Error while using webui

Post by Nameless »

I got the same error. However, the strange thing is that when I tried to connect with localhost:58846, I just get

Code: Select all

[ERROR   ] 04:05:59 client:146 Socket or XMLRPC error: (111, 'Connection refused')
When I connect to <my local address>:58846, then I get this error.

I am running 1.10RC2, as 1.10 was making my torrent list disappear.
guigui357
New User
New User
Posts: 9
Joined: Thu Jan 15, 2009 9:12 pm

Re: Error while using webui

Post by guigui357 »

just an idea,

I got the same kind of error after i modified the file .config/deluge/auth
to get access using the gtk client

the auth file should contain 2 lines if you want to use both the gtk client and the webui. here's mine :

cat /var/lib/deluge/.config/deluge/auth
deluge:deluge
localclient:d055a0ffe4fb9ce190591acbf2ca7740ecbaa95b

the line deluge:deluge is used by the gtk client
the line localclient... is used by the webui. this line was already there after the update of deluge on my ubuntu, but it was the only one
check you have such a localclient line in your file and restart
Post Reply