Deluge-web can't connect to daemon

General support for problems installing or using Deluge
Post Reply
zeeman
New User
New User
Posts: 3
Joined: Mon Mar 23, 2020 10:18 am

Deluge-web can't connect to daemon

Post by zeeman »

Hello!

I have this configuration:

deluge-web 2.0.3
libtorrent: 1.1.13.0
Python: 3.7.5
OS: Linux Ubuntu 19.10 Eoan Ermine

The problem is:
Web gui can not connect to daemon

I have tried to edit
/home/deluge/.config/deluge/web.conf
and set this
"default_daemon": "127.0.0.1:58846",
it does not help


zeeman@omun:/home/zeeman#sudo systemctl status deluged
● deluged.service - Deluge Bittorrent Client Daemon
Loaded: loaded (/etc/systemd/system/deluged.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-03-23 16:58:19 +04; 5min ago
Main PID: 1011 (deluged)
Tasks: 8 (limit: 4915)
Memory: 44.4M
CGroup: /system.slice/deluged.service
└─1011 /usr/bin/python3 /usr/bin/deluged -d

Mar 23 16:58:19 omun systemd[1]: Started Deluge Bittorrent Client Daemon.

zeeman@omun:/home/zeeman#sudo netstat | grep 588
tcp 0 0 localhost:58846 localhost:60606 ESTABLISHED
tcp 0 0 localhost:60600 localhost:58846 TIME_WAIT
tcp 0 0 localhost:60602 localhost:58846 TIME_WAIT
tcp 0 0 localhost:60606 localhost:58846 ESTABLISHED

zeeman@omun:/home/zeeman#sudo systemctl status deluge-web
● deluge-web.service - Deluge Bittorrent Client Web Interface
Loaded: loaded (/etc/systemd/system/deluge-web.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-03-23 17:01:30 +04; 3min 34s ago
Main PID: 2141 (deluge-web)
Tasks: 1 (limit: 4915)
Memory: 43.3M
CGroup: /system.slice/deluge-web.service
└─2141 deluge-web

Mar 23 17:01:30 omun systemd[1]: Started Deluge Bittorrent Client Web Interface.
Mar 23 17:02:03 omun deluge-web[2141]: 17:02:03 [ERROR ][deluge.ui.web.json_api :438 ] Unable to connect to daemon

Pls help
User avatar
gderf
Seeder
Seeder
Posts: 155
Joined: Sat Jun 18, 2016 1:32 am

Re: Deluge-web can't connect to daemon

Post by gderf »

"default_daemon": "127.0.0.1:58846" is not an appropriate entry for web.conf

You don't say how you are trying to connect to the daemon, only that it doesn't work. This is not helpful. Be specific.
zeeman
New User
New User
Posts: 3
Joined: Mon Mar 23, 2020 10:18 am

Re: Deluge-web can't connect to daemon

Post by zeeman »

I try to connect in web interface, using connection manager.
Daemon is in online state.
How to fix it?
User avatar
gderf
Seeder
Seeder
Posts: 155
Joined: Sat Jun 18, 2016 1:32 am

Re: Deluge-web can't connect to daemon

Post by gderf »

Remove that bad entry from web.conf first.

You cannot connect to the web interface via the connection manager.

Also, you can not connect via the connection manager from another (remote) machine until you enable remote connections. That can be done from the web interface | Preferences | check Allow Remote Connections.

To connect to the web interface use a web browser and connect to port 8112 on the IP address of the machine where the daemon is running.
zeeman
New User
New User
Posts: 3
Joined: Mon Mar 23, 2020 10:18 am

Re: Deluge-web can't connect to daemon

Post by zeeman »

Thanks.
The problem was that i used wrong account to connect to daemon in connection manager via web gui
Post Reply