Webui lost connections

Specific support for Deluge on Microsoft Windows OS
Post Reply
Xstatic

Webui lost connections

Post by Xstatic »

Hi. I'm runing deluge latest version 1.3.14 on a windows 7 machine. Both daemon and webui are running as services set with nssm.

The webui is accessible on my network, but sometimes the connection gets lost, and on webui the message "The connection to the webserver has been lost!" is shown. It keeps that for a few seconds to a couple of minutes and the connection comes back.

have a couple of applications connected to deluge webui, sonarr on the local machine and transdroid on my android device, and when this happens both applications lose the connection as well. So its not just the case of not being accessible outside of the local machine.

Any ideia of what can be causing the webui to lose the connection randomly?

Thank you.
The_Doctor

Re: Webui lost connections

Post by The_Doctor »

Facing same issue with Web UI constantly breaks connection, with about 300 Torrents running. If i use the web url, it will just break connection w/o doing anything "The connection to the web-server has been lost!". If i use a Thin client, the connection will stay up longer, but will eventually break, Also if I change something i.e. remove a torrent, then it will instantly break. When I open connection manager on the Thin Client, it just shows a grey plug, if i hit refresh or connect again, it will show a red dot for some time, then it will go back green eventually, and I can connect again.





The below example, came back on its own after abount a minute, but, no new connect message.

Code: Select all

[INFO    ] 10:49:48 rpcserver:206 Deluge Client connection made from: *:61030 -- Thin client
[INFO    ] 10:49:50 rpcserver:226 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost. -- clicked remove torrent
[INFO    ] 10:50:27 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:50:27 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 10:50:43 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:50:43 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 10:51:42 torrentmanager:635 Torrent * removed by user: * -- Finally removed torrent 
[INFO    ] 10:51:42 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 10:51:42 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 10:52:51 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:52:51 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 10:52:55 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:52:55 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 10:54:17 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:54:17 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 10:54:43 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 10:55:49 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:55:49 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 10:56:04 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:56:04 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 10:56:44 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:56:44 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 10:57:51 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:57:52 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 10:58:02 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:58:02 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 10:58:03 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 10:59:04 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:59:04 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 10:59:05 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:59:05 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 10:59:14 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 10:59:14 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 11:00:02 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 11:00:02 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume


Here is another example from the thin client. Im trying to remove 8 seeders, and the connection from the thin client goes grey, but no connection drop in logs.

Its almost like the connection drops until all the requested changes are completed, but taking over a minute to remove just one torrent?





In this example the last part of the log is when the Thin client started to respond again. It seems once again, only after it completed the requested task.

Code: Select all

[INFO    ] 11:10:26 rpcserver:206 Deluge Client connection made from: *:64030
[INFO    ] 11:11:06 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 11:11:06 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 11:11:23 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 11:12:25 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 11:12:25 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 11:13:56 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 11:13:56 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 11:14:58 torrentmanager:635 Torrent * removed by user: *
[INFO    ] 11:14:58 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 11:14:58 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 11:16:00 torrentmanager:635 Torrent * removed by user: *
[INFO    ] 11:16:00 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 11:16:00 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 11:16:58 torrentmanager:635 Torrent * removed by user: *
[INFO    ] 11:16:58 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[WARNING ] 11:16:58 torrent:987 Unable to delete the torrent file: [Errno 2] No such file or directory: '/config/state/8c303f2bd419951f8f9c68678689a543860eebbc.torrent'
[INFO    ] 11:16:58 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 11:18:01 torrentmanager:635 Torrent * removed by user: *
[INFO    ] 11:18:01 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 11:18:01 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 11:19:03 torrentmanager:635 Torrent * removed by user: *
[INFO    ] 11:19:03 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 11:19:03 torrentmanager:737 Saving the state at: /config/state/torrents.state

INFO    ] 11:20:03 torrentmanager:635 Torrent * removed by user: *
[INFO    ] 11:20:03 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 11:20:03 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 11:21:03 torrentmanager:635 Torrent * removed by user: *
[INFO    ] 11:21:03 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 11:21:03 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 11:22:04 torrentmanager:635 Torrent * removed by user: *
[INFO    ] 11:22:04 torrentmanager:737 Saving the state at: /config/state/torrents.state
[INFO    ] 11:23:50 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 11:23:51 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume
[INFO    ] 11:23:53 torrentmanager:780 Successfully loaded fastresume file: /config/state/torrents.fastresume
[INFO    ] 11:23:53 torrentmanager:826 Saving the fastresume at: /config/state/torrents.fastresume 








\
DelugeThrowAway

Re: Webui lost connections

Post by DelugeThrowAway »

Hi there,

I'm experiencing the exact same issue with only 1 or 2 torrents running. Did you find a solution?
Post Reply