Opened 2 years ago

Last modified 2 years ago

#2972 new bug

deluge-web and deluge-gtk refuse to connect to a daemon which has autoadd_enable set to true

Reported by: krichter Owned by:
Priority: minor Milestone: needs verified
Component: Web UI Version: 1.3.13
Keywords: Cc:

Description

If autoadd_enable is set to true in core.conf in deluged configuration, deluge-web doesn't connect to it any more. deluged starts as expected and adds all torrents in the auto-add directory. One has to guess when it's finished, stop it, edit the configuration file and start it in order to allow deluge-web to connect. deluge-web sets the value back to true at every start.

There's no feedback in the GUI, console output or log files with log priority debug which indicates a severe misconception of feedback.

deluge-web log at https://richtercloud.de:451/index.php/s/rtimaLYgILIXi77 and deluged log at https://richtercloud.de:451/index.php/s/igc7h3ZA65n5vGk.

Change History (5)

comment:1 Changed 2 years ago by krichter

I triggered this issue twice by changing autoadd_enable, but apparently that was due to random behaviour - impossible to tell without feedback. The specified reason seems to be not or only partially the reason of the problem.

comment:3 Changed 2 years ago by Cas

Have you tried connecting with deluge-console locally and remotely?

Last edited 2 years ago by Cas (previous) (diff)

comment:4 Changed 2 years ago by krichter

Have you tried connecting with deluge-console locally and remotely?

>>> connect 127.0.0.1:58846                                                     
>>> info                                                                        
Not connected to a daemon, please use the connect command first.

although deluged is running:

> sudo netstat -tupln | grep 58846
tcp       28      0 0.0.0.0:58846           0.0.0.0:*               LISTEN      14815/python
> sudo systemctl status deluged.service
● deluged.service - LSB: Start or stop the Deluge BitTorrent daemon.
   Loaded: loaded (/etc/init.d/deluged; generated; vendor preset: enabled)
   Active: active (running) since Mo 2017-02-20 04:57:59 CET; 19h ago
     Docs: man:systemd-sysv-generator(8)
  Process: 14746 ExecStop=/etc/init.d/deluged stop (code=exited, status=0/SUCCES
  Process: 14797 ExecStart=/etc/init.d/deluged start (code=exited, status=0/SUCC
    Tasks: 5 (limit: 4915)
   Memory: 51.5M
      CPU: 3.757s
   CGroup: /system.slice/deluged.service
           └─14815 /usr/bin/python /usr/bin/deluged -d -c /var/lib/deluge/deluge

Warning: Journal has been rotated since unit was started. Log output is incomple

comment:5 Changed 2 years ago by krichter

The issue was fixed once after a reboot, but I could reproduce it 3 times after a reboot, so the reboot seems to have triggered something that fixes the issue, maybe a race condition.

Note: See TracTickets for help on using tickets.