Page 1 of 1

[FIXED] [1.1.9] Connecting to remote daemon

Posted: Wed Nov 04, 2009 8:43 pm
by akaIDIOT
Dear friends,

As I like deluge as a torrent client and want to move the actual torrents to my server I'm currently trying to get the deluge daemon running on my server. As proven by my posting here, I have yet to prevail.
On both the client and the server end, I use deluge version 1.1.9, the server being Debian stable/testing, the client being Ubuntu 9.10 (Karmic). The local client works like a charm, but of course I want it to connect to my server. Disabling classic mode and adding my server keeps showing it up as not running though.

The server is started using a modded version of the init-script posted on http://apocryph.org/2008/11/30/setting_ ... ws_client/. The mod can be found on http://pastebin.com/f629c2055. So far, so good: the daemon starts, the web ui doesn't (that was the point of the mod), nmap lists port 58846 to be open on localhost (the server) and a console UI connects to it and makes it download things. I assume this means the daemon works properly. However, my client can still not connect to it; nmap on my desktop tells me port 58846 is closed.
Looking in the config file on my client, I found an allow_remote setting in a rather obscure format. Setting the I00 to I01 on the server as it was on the client however, changes nothing. Neither does changing this value to True with the console UI.

In short: I'm out of ideas to make this work, I humbly turn to the internet to ask for help. Googling for this issue yields me many results not answering my question, so I hope there is someone here capable of pointing out the probably easy fix or stupid error :D

Re: [1.1.9] Connecting to remote daemon

Posted: Wed Nov 04, 2009 10:43 pm
by andar
Did you add a user to your auth file on the server?

~/.config/deluge/auth

Re: [1.1.9] Connecting to remote daemon

Posted: Thu Nov 05, 2009 5:48 pm
by akaIDIOT
Yes, i did.
apart from the localclient:<hash> thing i added a user and a password to connect with.

I think the problem has something to do with the remote settings, as my desktop doesn't even see an op TCP port on the server machine...

Re: [1.1.9] Connecting to remote daemon

Posted: Fri Nov 06, 2009 5:33 am
by andar
Did you restart the daemon after setting allow remote connections to True?

Re: [1.1.9] Connecting to remote daemon

Posted: Fri Nov 06, 2009 9:02 pm
by akaIDIOT
Yes, I did. Or rather, I thought I did. I only just noticed the stop command to the rc script didn't work, so the restart command didn't either... After killing it myself and starting it again it works!

Thank you very much for your help! :D

And to think I though it was a bug in deluge...