Cannot access web GUI from Windows 10 on Synology

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
tbingel
Newbie
Newbie
Posts: 4
Joined: December 14th, 2015, 5:38 pm

Cannot access web GUI from Windows 10 on Synology

Post 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?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Cannot access web GUI from Windows 10 on Synology

Post 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?
tbingel
Newbie
Newbie
Posts: 4
Joined: December 14th, 2015, 5:38 pm

Re: Cannot access web GUI from Windows 10 on Synology

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Cannot access web GUI from Windows 10 on Synology

Post by shypike »

Check the SABnzbd log file to see which port is being used.
(Or for error messages of course.)
tbingel
Newbie
Newbie
Posts: 4
Joined: December 14th, 2015, 5:38 pm

Re: Cannot access web GUI from Windows 10 on Synology

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Cannot access web GUI from Windows 10 on Synology

Post 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.
tbingel
Newbie
Newbie
Posts: 4
Joined: December 14th, 2015, 5:38 pm

Re: Cannot access web GUI from Windows 10 on Synology

Post 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?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Cannot access web GUI from Windows 10 on Synology

Post 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?
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Cannot access web GUI from Windows 10 on Synology

Post 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.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Cannot access web GUI from Windows 10 on Synology

Post by shypike »

If SABnzbd is behing Apache, something went wrong in the configuration of Apache.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Cannot access web GUI from Windows 10 on Synology

Post 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
Post Reply