Web won't load correctly, problem in torrents.state

General support for problems installing or using Deluge
Post Reply
jwhite530
New User
New User
Posts: 4
Joined: Wed Oct 27, 2010 6:41 pm

Web won't load correctly, problem in torrents.state

Post by jwhite530 »

After over a year of no serious issues with Deluge I can no longer do anything with it. I was adding torrents as usual and the Web interface stopped responding and came back with "The connection to the webserver has been lost!" I refreshed and it showed the interface but no stats on the bottom right and no torrents then it came back with the same error. Cleared cache and cookies, same thing, switch to Opera, same thing, switch to Firefox, won't load anything at all and shows no error (but Firefox could just be stupid).

I switched the console interface and I could see things were still downloading just fine. I restarted deluged and deluge-web but the Web interface did the same thing with the same error. Back in the console interface I removed the last two torrent I added, the Web interface still does the same thing. I paused all torrents then started some again. Some began to download then stopped with 'error'. Not good. I now can't download anything.

I cleared my logs and tried to access the Web interface again. Nothing in the logs. I restarted deluged and deluge-web, nothing in the web log at all, no errors in the deluged log. I switched to debug logging and removed a torrent it was complaining about, still the same error in the Web interface.

If I remove /etc/deluge/state/torrents.state then the Web interface works but of course I lose all my torrents.

I've given up, I don't know what to do now.

deluged: 1.3.2
Ubuntu 10.04 x64
jwhite530
New User
New User
Posts: 4
Joined: Wed Oct 27, 2010 6:41 pm

Re: Web won't load correctly, problem in torrents.state

Post by jwhite530 »

i was able to get torrents to start without failing by doing a recheck on all of them. I still can't get the Web interface to work.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Web won't load correctly, problem in torrents.state

Post by Cas »

You can enable webui dev mode as follows and use a javascript debugger to look for any useful information:

Code: Select all

http://localhost:8112?dev=true
Try deleting web.conf or alternatively try a fresh config with your existing state file to see if that loads.

However it really doesn't make sense why the state file should affect webui so not sure what else to suggest.
Post Reply