Page 1 of 1

Cannot Connect to LOCALHOST Daemon (Raspbian)

Posted: Mon Sep 21, 2015 6:50 am
by kookbot
I'm running the Deluge daemon 1.3.3 on Raspbian. I have remote connections enabled and am able to remotely connect via thin client (local-ip:58846) on my mac without issue.

I'm having trouble with Sickrage and Couch Potato. When I try and connect these to the daemon (localhost:58846), it will not connect at all.

I have tried to put in the 'localclient' credentials, and also the credentials of a user I created. Here are the contents of my auth file

Code: Select all

localclient:***:10
pi:***:10
Does anyone have a solution to this, or can you point me down the path? Thanks!

Re: Cannot Connect to LOCALHOST Daemon (Raspbian)

Posted: Mon Sep 21, 2015 9:37 am
by Cas
Both those applications use the webui iirc.

Re: Cannot Connect to LOCALHOST Daemon (Raspbian)

Posted: Mon Sep 21, 2015 9:39 pm
by kookbot
I've found that Sickrage offers both WebUi and Daemon, but Couch Potato defaults its settings to the Daemon on port 58846.

Interestingly, when I ping 127.0.0.1 on port 58846, I get 'Unknown Host'. Do I need to open that port on the PI?

EDIT: I've opened port 58846 and TCP is listening on that port. However, no success connecting.
EDIT: Could it have something to do with the fact that my init.d script is running as the user "pi" at startup? I do have that same login in the Auth file.

Re: Cannot Connect to LOCALHOST Daemon (Raspbian) & (Ubuntu)

Posted: Mon Oct 26, 2015 4:44 am
by daveinfla
I have the same issue running the daemon on a Ubuntu 14.04.3 LTS Server.
Running the following version of Deluge:
deluge 1.3.6-0ubuntu3
deluge-common 1.3.12-0~trusty~ppa all
deluge-gtk 1.3.12-0~trusty~ppa all
deluge-web 1.3.12-0~trusty~ppa all
deluge-webui 1.3.12-0~trusty~ppa all
deluged 1.3.12-0~trusty~ppa all

Running CouchPotato version e6fa8b8b (10/4/2015, 5:13:08 AM)

I'm trying to connect to localhost:58846 with the user Deluge that Deluge is running under. I have the username:pw:10 in the auth file and I still get an error "Connection failed. Check logs for details." The CouchPotato log lists nothing.

This seems to be a common issue, one suggesting was to just use the Black hole setup but I'd really like to get this working for the sake of getting it working.

Thanks,

Re: Cannot Connect to LOCALHOST Daemon (Raspbian)

Posted: Mon Oct 26, 2015 12:06 pm
by Cas

Re: Cannot Connect to LOCALHOST Daemon (Raspbian) & (Ubuntu)

Posted: Tue Oct 27, 2015 1:38 am
by daveinfla
I guess I should have mentioned, I'm a newbie at Linux, I need a little more direction then then link above.

What files need to be modified, where are they, do you have any examples?

Thanks,

Re: Cannot Connect to LOCALHOST Daemon (Raspbian)

Posted: Tue Oct 27, 2015 10:29 am
by Cas
It doesn't matter if you are a newbie at Linux. The files are described in that paragraph and you can read the FAQ (or the rest of that guide) for their location.

Re: Cannot Connect to LOCALHOST Daemon (Raspbian) & (Ubuntu)

Posted: Thu Oct 29, 2015 4:49 am
by daveinfla
Success!

The instructions via the link above are vague at best but I managed to muddle through it.

As the original setup instructions indicated I have deluged running under the user deluge, however CouchPotato is running under my account.

The fix was to put a copy of the auth file from /var/lib/deluge/.config/deluge into /home/myaccount/.config/deluge. Note: I had to create the deluge sub-folder, then copy the auth file to it.

My auth file consists of the following lines:
localclient:<password string auto assigned>:10
myaccount:mypassword:10

I then used the deluge username and it's password in the CouchPotato configuration pointing to localhost:58846 and the directory I want files downloaded to. The label field is only used with a plugin that I do not use.

Thanks for the help...hope this helps others...

Re: Cannot Connect to LOCALHOST Daemon (Raspbian)

Posted: Wed Dec 02, 2015 5:57 am
by rdunn19d
I'm having the same issue except that CouchPotato and Deluge are running under the same user. Oh, and I'm on Gentoo. I just saw this and posted. I'm still searching in case the answer is somewhere else in the forums.