Page 1 of 1

Cannot access web GUI from Windows 10 on Synology

Posted: December 14th, 2015, 5:55 pm
by tbingel
Hi,
I have a Synology NAS DS115+.
I am running DSM 5.2-5644 Update 1 and Windows 10 64 Bit.
I have installed Sabnzbd plugin through Community section on the DSM plugins menu.
Sabnzbd version is 0.7.20-14
Installation went through via wizard without any issues.
I have rebooted both the NAS and the PC after installation.
Now I get the error message on my browser as "ERR_CONNECTION_REFUSED" each time try to access the web GUI.
Cleared the browser cash, reset the network credentials, disabled the firewall etc.
I have uninstalled and re-installed the plugin configuring it to use secure and non-secure connection (ports 8080 and 9090) respectively and no success there, too.
My firewall is not interfering for sure. No other Windows built-in security settings are enabled.
Any suggestions please?

Re: Cannot access web GUI from Windows 10 on Synology

Posted: December 15th, 2015, 2:28 am
by shypike
Is there a way to check whether SABnzbd is running at all?
Can you get into the system with an ssh shell session?

Re: Cannot access web GUI from Windows 10 on Synology

Posted: December 15th, 2015, 4:13 am
by tbingel
Hi shypike,
the web GUI says that the plugin is running.
Yes, I can SSH into the NAS. However, I don't know how to check whether the plugin is running or not.
Could you please guide me as to which commands to use to check it?
Thank you.

PS: I just checked the GUI log section and realized that there were no newer entries than last midnight?
PS2: I have restarted the plugin and saw that log entries are updated to include the recent restart sequence.

Re: Cannot access web GUI from Windows 10 on Synology

Posted: December 15th, 2015, 4:48 am
by shypike
Check the SABnzbd log file to see which port is being used.
(Or for error messages of course.)

Re: Cannot access web GUI from Windows 10 on Synology

Posted: December 15th, 2015, 6:02 am
by tbingel
The port used is 8080 as per the log entry.
It says "ENGINE Serving on 127.0.0.1:8080"
I could not find a way to copy the entire log to post here though.
Here is the screen capture for you: https://www.dropbox.com/s/hr6gxv169sm8g ... 5.jpg?dl=0
Thank you.

Re: Cannot access web GUI from Windows 10 on Synology

Posted: December 15th, 2015, 6:09 am
by shypike
SABnzbd is serving on 127.0.0.1:8080.
That means that SABnzbd will not accept incoming traffic from other systems,
because 127.0.0.1 is a purely local address. It cannot go outside the Syno box.
So that won't work. Normally you set SABnzbd to serve on 0.0.0.0.

The only exception is when SABnzbd operates behind an Apache web server.
I have no idea whether this is the case for Syno.

Re: Cannot access web GUI from Windows 10 on Synology

Posted: December 15th, 2015, 7:14 am
by tbingel
I just have downloaded and installed the plugin through the regular web wizard interface of the DSM.
I did not even see a screen with those IP settings.
Is there a method to set those parameters correctly via SSH or similar?

Re: Cannot access web GUI from Windows 10 on Synology

Posted: December 15th, 2015, 8:04 am
by shypike
Somewhere on your system is a file called sabnzbd.ini
In it you'll find all SABnzbd settings.

It could still be that SABnzbd is hidden behind an Apache proxy.
What happens if you address port 80 of your Syno?

Re: Cannot access web GUI from Windows 10 on Synology

Posted: December 15th, 2015, 8:14 am
by safihre
According to the screenshot, it is:
/usr/local/sabznbd/var/config.ini

Although probably there is some Apache active, knowing some Syn devices.

Re: Cannot access web GUI from Windows 10 on Synology

Posted: December 15th, 2015, 8:34 am
by shypike
If SABnzbd is behing Apache, something went wrong in the configuration of Apache.

Re: Cannot access web GUI from Windows 10 on Synology

Posted: December 15th, 2015, 5:12 pm
by sander
I have a Synology, and just installed SABnzbd on it, and it works (as in: accessible from other devices on the LAN). Some analysis snippets:

Code: Select all

DiskStation> netstat -apn | grep 8080 | grep -i LISTEN
netstat: showing only processes with your user ID
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      25884/python
0.0.0.0, thus listening to the LAN.

Code: Select all

DiskStation> ps | grep -i sab
25884 sabnzbd   207m S    /usr/local/sabnzbd/env/bin/python /usr/local/sabnzbd/share/SABnzbd/SABnzbd.py -f /usr/local/sabnzbd/var/config.ini
26212 root      4188 S    grep -i sab

Code: Select all

DiskStation> cat /usr/local/sabnzbd/var/config.ini | grep -i host | head -1
host = 0.0.0.0
I have a webserver on port 80. I'm not sure it's apache:

Code: Select all

DiskStation> netstat -apn | grep 80 | grep -vi 8080 | grep LISTEN | grep -vi LISTENING
tcp        0      0 ::%10:80                :::*                    LISTEN      20225/httpd