#3068 closed bug (Fixed)
webui
Reported by: | firefox | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | Web UI | Version: | develop |
Keywords: | Cc: |
Description
the webui does not connect automatic to daemon, when logging on from remote still asks for what daemon to connect
Change History (10)
comment:1 Changed 54 years ago by firefox
- Status changed from pending to new
comment:1 Changed 6 years ago by Cas
- Status changed from new to pending
comment:2 Changed 6 years ago by Cas
Do you have an entry in web.conf for that config value?
Perhaps I broke auto-connecting to localhost daemon? I shall check...
comment:3 Changed 6 years ago by firefox
tested http://dev.deluge-torrent.org/wiki/Faq#HowdoIauto-connecttoaspecificdaemon but not succeseful. not working.
comment:4 Changed 6 years ago by firefox
22:28:08.850 [ERROR ][deluge.pluginmanagerbase :183 ] Failed to start plugin: WebUi Traceback: <type 'exceptions.TypeError'>: _connect_daemon() takes exactly 2 arguments (4 given) /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:150:maybeDeferred /usr/lib/python2.7/dist-packages/deluge/plugins/init.py:27:enable /usr/lib/python2.7/dist-packages/deluge/plugins/WebUi-0.1.egg/deluge/plugins/webui/core.py:46:enable /usr/lib/python2.7/dist-packages/deluge/plugins/WebUi-0.1.egg/deluge/plugins/webui/core.py:83:start_server /usr/lib/python2.7/dist-packages/deluge/ui/web/server.py:644:start /usr/lib/python2.7/dist-packages/deluge/ui/web/json_api.py:391:enable
comment:5 Changed 6 years ago by firefox
found the error !
[#3064|WebUI] Fix server not sending TLS intermediate certs - options.getContext().set_options(SSL.OP_NO_SSLv2 | SSL.OP_NO_SSLv3) + ctx = options.getContext() + ctx.set_options(SSL.OP_NO_SSLv2 | SSL.OP_NO_SSLv3) + ctx.use_certificate_chain_file(configmanager.get_config_dir(self.cert))
commit 06dfeed7505dc84daa90cd8dbaf468bf6d50ea9e (patch)
using server.py and server.pyc of previous version works fine. just installed latest version from ppa and copied /usr/lib/python2.7/dist-packages/deluge/ui/web/server.py and /usr/lib/python2.7/dist-packages/deluge/ui/web/server.pyc from dev 7027.
tested even from transdroid. works!
Ops, worked just one time....after closing and reopen didint connect to web interface. confirm. it's not that.
comment:6 Changed 6 years ago by Cas
Yeah it wouldn't be that ssl change. But your previous trace looks like it might be relevant. I shall look into that...
comment:7 Changed 6 years ago by firefox
And btw if you copy the daemon Id from the host config to the web config the web doesn't connect .
comment:8 Changed 6 years ago by Cas
- Milestone changed from needs verified to 2.0
- Resolution set to Fixed
- Status changed from new to closed
Fixed: [fb71d049b1]
The web config likely needs updating with new daemon hostlist id:
http://dev.deluge-torrent.org/wiki/Faq#HowdoIauto-connecttoaspecificdaemon
However a recent commit I made to migrate the old hostlist config might fix this by recovering the old id. [eeccc47dded9f]