Page 1 of 2

Connection Refused from QNAP NAS

Posted: May 16th, 2018, 7:15 pm
by SikeMo
Greetings,

I have been using SAB for several years now with nearly zero issues. However, about a month ago, my shows stopped updating. I am running the program on a QNAP TS-419P+ NAS. When I attempt to access the web interface, I get a screen that says connection refused. I decided to uninstall the software and update to the newest version from this April. After updating, I went through the menus and got everything set up again. I went to bed last night and this morning it's back to the same connection refused screen and I am unable to access the web interface again. I tried removing and reinstalling everything again, and this time, I added a user/pass. An hour later the connection was refused again.

Any ideas?

Thanks.

Re: Connection Refused from QNAP NAS

Posted: May 17th, 2018, 12:13 am
by sander
Which browser?
What is the exact, full error message?
Which URL do you use?

Can you login on your QNAP (via management tool / GUI?) and see if SABnzbd is running at all?

Re: Connection Refused from QNAP NAS

Posted: May 17th, 2018, 1:29 am
by SikeMo
I'm using Chrome. Never caused a problem before...

'This site can’t be reached
192.168.1.X refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED'

I'm using the default port 8800

Re: Connection Refused from QNAP NAS

Posted: May 17th, 2018, 1:57 am
by sander
SikeMo wrote: May 17th, 2018, 1:29 am
I'm using the default port 8800
That is NOT the default port. The default port is 8080. EDIT: oh, is 8800 the default port on QNAP?

How about my other question:
Can you login on your QNAP (via management tool / GUI?) and see if SABnzbd is running at all?

Re: Connection Refused from QNAP NAS

Posted: May 17th, 2018, 10:24 pm
by SikeMo
I can only tell you that it is installed and appears on the App Center page. I will add that Sickbeard/Sickrage are unable to access it.

Re: Connection Refused from QNAP NAS

Posted: May 18th, 2018, 12:10 am
by OneCD
How did you install your SABnzbd? Which QPKG are you using?

Re: Connection Refused from QNAP NAS

Posted: May 18th, 2018, 12:28 am
by SikeMo
Sherpa:

https://forum.qnap.com/viewtopic.php?f=320&t=132373

I'm using the version from 4/27/18. This problem began with a very old version that I was using and never had a problem with. I upgraded and it worked briefly, then went back to the same problem.

Re: Connection Refused from QNAP NAS

Posted: May 18th, 2018, 1:29 am
by OneCD
For the record, can you please include your QTS firmware version too? Some of the more recent firmwares appear to be problematic. :-\

Let's confirm SABnzbd is running. SSH into your NAS as the 'admin' user, then:

Code: Select all

ps ax | grep -i sabnzbd | grep -v grep
Also, please check the SABnzbd QPKG log:

Code: Select all

cat /var/log/SABnzbdplus.log 

Re: Connection Refused from QNAP NAS

Posted: May 18th, 2018, 6:33 pm
by SikeMo
I am using QNAP firmware version 4.3.3.0546. I was thinking that may have triggered the problem.

The first entry produced nothing.

Here is the output from the second entry:

-------------------- start requested --------------------
= Tue May 15 00:55:38 PDT 2018
= (SABnzbdplus) is not active
* updating (SABnzbdplus): OK
Already up to date.
* updating (nzbToMedia): OK
Already up to date.
* starting (SABnzbdplus): OK

-------------------- stop requested --------------------
= Tue May 15 22:46:22 PDT 2018
= (SABnzbdplus) is not active
-------------------- stop requested --------------------
= Tue May 15 22:46:24 PDT 2018
= (SABnzbdplus) is not active
-------------------- start requested --------------------
= Tue May 15 23:16:42 PDT 2018
= (SABnzbdplus) is not active
* updating (SABnzbdplus): OK
Cloning into '/share/MD0_DATA/.qpkg/SABnzbdplus/SABnzbdplus'...
Already up to date.
* updating language support (SABnzbdplus): OK
* updating (nzbToMedia): OK
Already up to date.
* stopping (SABnzbdplus) with SIGTERM: stopped OK in 0 seconds
* starting (SABnzbdplus): OK

-------------------- start requested --------------------
= Tue May 15 23:18:08 PDT 2018
= (SABnzbdplus) is active
* stopping (SABnzbdplus) with SIGTERM: stopped OK in 1 seconds
* starting (SABnzbdplus): OK

-------------------- stop requested --------------------
= Wed May 16 10:40:05 PDT 2018
= (SABnzbdplus) is not active
-------------------- stop requested --------------------
= Wed May 16 10:40:07 PDT 2018
= (SABnzbdplus) is not active
-------------------- start requested --------------------
= Wed May 16 10:41:57 PDT 2018
= (SABnzbdplus) is not active
* updating (SABnzbdplus): OK
Cloning into '/share/MD0_DATA/.qpkg/SABnzbdplus/SABnzbdplus'...
Checking out files: 100% (444/444), done.
Already up to date.
* updating language support (SABnzbdplus): OK
* updating (nzbToMedia): OK
Already up to date.
* stopping (SABnzbdplus) with SIGTERM: stopped OK in 0 seconds
* starting (SABnzbdplus): OK

-------------------- start requested --------------------
= Wed May 16 10:42:59 PDT 2018
= (SABnzbdplus) is active
* stopping (SABnzbdplus) with SIGTERM: stopped OK in 1 seconds
* starting (SABnzbdplus): OK

Re: Connection Refused from QNAP NAS

Posted: May 18th, 2018, 8:01 pm
by OneCD
SikeMo wrote: May 18th, 2018, 6:33 pm I am using QNAP firmware version 4.3.3.0546. I was thinking that may have triggered the problem.
Yes, 546 is one of the problem builds. I think 516 is still OK (but I don't use these later QTS versions myself).
SikeMo wrote: May 18th, 2018, 6:33 pm The first entry produced nothing.
Then SABnzbd isn't running. :-[
SikeMo wrote: May 18th, 2018, 6:33 pm Here is the output from the second entry:
Hmm, there are no 'stop' operations to end each SABnzbd session. This means SABnzbd is exiting due to some other issue (crash, QBoost, QTS, etc...)

The only other thing I can think to check for would be the SABnzbd log (available via the SABnzbd UI), but that would be best interpreted by @sander, @safihre, and the other experienced devs here. 8)

You might look at downgrading your QTS firmware.

Re: Connection Refused from QNAP NAS

Posted: May 18th, 2018, 8:45 pm
by SikeMo
I will first try to downgrade the firmware. I have no real reason to have installed the upgrade, anyhow. Will report back.

Re: Connection Refused from QNAP NAS

Posted: May 18th, 2018, 9:33 pm
by SikeMo
Version 513 works! That was it.

Re: Connection Refused from QNAP NAS

Posted: May 18th, 2018, 11:47 pm
by OneCD
Awesome, nicely done. :)

Re: Connection Refused from QNAP NAS

Posted: May 19th, 2018, 12:10 am
by SikeMo
And thanks to you!

Re: Connection Refused from QNAP NAS

Posted: May 30th, 2018, 3:33 pm
by SikeMo
Came back to it not working again this week. It must just be a matter of time before it starts getting blocked again. Really odd.