QSabNZBdPlus Not Listening on IPv6 IPs

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
kevinds
Newbie
Newbie
Posts: 6
Joined: July 10th, 2018, 4:56 pm

QSabNZBdPlus Not Listening on IPv6 IPs

Post by kevinds »

Alright, I am stuck.. I have been fighting with this for a few days trying to track down the issue..

I am running QSabNZBdPlus on my QNAP TS-869, installed from the QNAP Club App store. Currently 4.3.4.0597

I wasn't able to access the web interface.... I uninstalled all of the add-on apps installed, and cleared their leftover files in hidden directories
reinstalled Entware-3x-std, QGit, Par2cmdline, QPython3 (3.6.0), I tried 2.7 as well. After I installed QSabNZBdPlus again I realized it is only listening on IPv4 IPs.. Not IPv6. Confirmed with netstat -nl, this is how I verified it isn't a firewall rule, but rather it just isn't listening.

I set 'host' in nthe graphical config to :: rather than 0.0.0.0, and it is reset back after sabnzbd restarts. Same thing happens if I edit config.ini directly.

I checked and unchecked the various 'Special' options for IPv6 and still no effect. It simply won't start IPv6 IPs and I can't figure out why. Any suggestions on where to look?
Last edited by kevinds on July 11th, 2018, 1:51 am, edited 1 time in total.
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: QSabNZBdPlus Not Listening on IPv6 IPs

Post by OneCD »

Hi and welcome to the forum. :)
kevinds wrote: July 10th, 2018, 5:09 pmreinstalled Entware-3x-std, QGit, Par2cmdline, QPython3 (3.6.0), I tried 2.7 as well.
Please note: for @QNAP_Stephane's SAB packages, you won’t need Entware (unrequired for this package), Par2cmdline (built into this package), or QPython3 (SAB is currently compatible with Python 2.7.x only)

I'm unable to comment on your actual issue regarding IPv6 as I've never used it. Hopefully, someone here can assist further.

Have you tried sherpa?
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
kevinds
Newbie
Newbie
Posts: 6
Joined: July 10th, 2018, 4:56 pm

Re: QSabNZBdPlus Not Listening on IPv6 IPs

Post by kevinds »

OneCD wrote: July 10th, 2018, 5:22 pm Hi and welcome to the forum. :)

Please note: for @QNAP_Stephane's SAB packages, you won’t need Entware (unrequired for this package), Par2cmdline (built into this package), or QPython3 (SAB is currently compatible with Python 2.7.x only)

I'm unable to comment on your actual issue regarding IPv6 as I've never used it. Hopefully, someone here can assist further.

Have you tried sherpa?
Thank you for the welcome. Better than some communities I've joined. :D I wanted to ask you if you had any tips for installing/running Stretch on the x69 QNAPs... The referenced install guide URL is dead. That is in the future though, regardless, wanted to try myself first.

I wondered about them being built into the package, Python was still showing 2.7 references in some places after I removed the packages, but I also saw another page that said they were needed.. I figured worst case, they would be there and not used..

I have used your sherpa script in the past for a long time, I stopped using it because of some bugs but I don't remember what they were now.

Had to remove the sherpa link from the quote as I can't post links yet..
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: QSabNZBdPlus Not Listening on IPv6 IPs

Post by OneCD »

kevinds wrote: July 10th, 2018, 8:51 pm I wanted to ask you if you had any tips for installing/running Stretch on the x69 QNAPs... The referenced install guide URL is dead. That is in the future though, regardless, wanted to try myself first.
Not much, it's just like installing to a PC. Put the bootloader on the DOM, then Debian on your RAID.
kevinds wrote: July 10th, 2018, 8:51 pmI wondered about them being built into the package, Python was still showing 2.7 references in some places after I removed the packages, but I also saw another page that said they were needed.
Confusingly, QTS also ships with Python 2.7.5 by default.

If you install one of the QNAP Python QPKGS, then you'll have 2 versions.

If you install QPython as well - now you're up to 3.

And if you install Entware then install Python though it, you'll now have 4 Pythons on a single NAS. ;D
kevinds wrote: July 10th, 2018, 8:51 pmI have used your sherpa script in the past for a long time, I stopped using it because of some bugs but I don't remember what they were now.
I can only fix the bugs I know about. Which means the community need to let me know about them. ;)
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
kevinds
Newbie
Newbie
Posts: 6
Joined: July 10th, 2018, 4:56 pm

Re: QSabNZBdPlus Not Listening on IPv6 IPs

Post by kevinds »

OneCD wrote: July 10th, 2018, 9:01 pm Not much, it's just like installing to a PC. Put the bootloader on the DOM, then Debian on your RAID.
I was thinking about putting in a bigger DOM :)
OneCD wrote: July 10th, 2018, 9:01 pm Confusingly, QTS also ships with Python 2.7.5 by default.

If you install one of the QNAP Python QPKGS, then you'll have 2 versions.

If you install QPython as well - now you're up to 3.

And if you install Entware then install Python though it, you'll now have 4 Pythons on a single NAS. ;D
One can never have enough Python? ;) Also better than having 4 versions of Java installed, even one is too many (sorry, I really don't like Java)

I didn't know it was shipped with Python, figured that is why the App package was there
.
I wondered about them being built into the package, Python was still showing 2.7 references in some places after I removed the packages, but I also saw another page that said they were needed.

Otherwise, sometimes they are all needed because applications go looking in different places for it.

par2cmdline is needed though. Without it being installed from the 'store' QSabNZBdPlus throws errors about it being missing
OneCD wrote: July 10th, 2018, 9:01 pm I can only fix the bugs I know about. Which means the community need to let me know about them. ;)
Fair enough. I am going to try the sherpa script again tonight, see if that helps.. If it persists, I'll rollback the OS a version or two and see what happens.. Hopefully it doesn't result in needing to restore TBs from online backups.. :|
kevinds
Newbie
Newbie
Posts: 6
Joined: July 10th, 2018, 4:56 pm

Re: QSabNZBdPlus Not Listening on IPv6 IPs

Post by kevinds »

kevinds wrote: July 11th, 2018, 2:39 am Fair enough. I am going to try the sherpa script again tonight, see if that helps.. If it persists, I'll rollback the OS a version or two and see what happens.. Hopefully it doesn't result in needing to restore TBs from online backups.. :|
So sherpa didn't install..

Code: Select all

[ proc ] downloading QPKG (Par2_0.7.4.0_x86_64.qpkg.zip) ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:03:01 --:--:--     0curl: (56) Recv failure: Connection reset by peer
md5sum: can't open '/share/Public/sherpa.tmp/qpkg-downloads/Par2_0.7.4.0_x86_64.qpkg.zip': No such file or directory
[ fail ] Downloaded QPKG checksum incorrect (Par2_0.7.4.0_x86_64.qpkg.zip) [0]
I reinstalled from QNAP Club.. Then I went exploring.. Par2cmdline is needed.. Also, the /etc/init.d/QSabNZBdPlus.sh script had --server 0.0.0.0:8282 --https 8243 in the script, overiding the config.ini.. Overwriting it too?

I removed those two options and after editing config.ini to set host = ::, I restarted it (observation, Stop fails), it is running as expected now. Proper ports, IPv4 and IPv6.

I think the kill portion of the init.d script has a typo, but before I look at fixing it, I thought SABnzbd had a graceful stop command?
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: QSabNZBdPlus Not Listening on IPv6 IPs

Post by OneCD »

kevinds wrote: July 11th, 2018, 2:39 amSo sherpa didn't install..

Code: Select all

[ proc ] downloading QPKG (Par2_0.7.4.0_x86_64.qpkg.zip) ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:03:01 --:--:--     0curl: (56) Recv failure: Connection reset by peer
md5sum: can't open '/share/Public/sherpa.tmp/qpkg-downloads/Par2_0.7.4.0_x86_64.qpkg.zip': No such file or directory
[ fail ] Downloaded QPKG checksum incorrect (Par2_0.7.4.0_x86_64.qpkg.zip) [0]
Note that you don't install sherpa. It's only a script that installs other packages.

The error indicated points to a temporary condition. To diagnose this on your NAS, I need the full sherpa debug log - a partial log only shows an error occurred but tells me nothing of your configuration.

However, as you've now installed QSAB, there's not much point. You'd need to be prepared to run the sherpa installer script again, which would remove QSAB. :-\
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: QSabNZBdPlus Not Listening on IPv6 IPs

Post by OneCD »

A check you could perform would be to try downloading that package manually:

Code: Select all

curl --output /share/Public/test.zip http://www.qoolbox.fr/Par2_0.7.4.0_x86_64.qpkg.zip
You won't need to do anything else with it - just try downloading it.
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
kevinds
Newbie
Newbie
Posts: 6
Joined: July 10th, 2018, 4:56 pm

Re: QSabNZBdPlus Not Listening on IPv6 IPs

Post by kevinds »

OneCD wrote: July 11th, 2018, 11:00 pm A check you could perform would be to try downloading that package manually:

Code: Select all

curl --output /share/Public/test.zip http://www.qoolbox.fr/Par2_0.7.4.0_x86_64.qpkg.zip
You won't need to do anything else with it - just try downloading it.
It doesn't like it/me...

Code: Select all

[~] # curl --output /share/Public/test.zip http://www.qoolbox.fr/Par2_0.7.4.0_>
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:03:00 --:--:--     0curl: (56) Recv failure: Connection reset by peer
[~] #

Code: Select all

# wget http://www.qoolbox.fr/Par2_0.7.4.0_x86_64.qpkg.zip
--2018-07-12 03:14:39--  http://www.qoolbox.fr/Par2_0.7.4.0_x86_64.qpkg.zip
Resolving www.qoolbox.fr (www.qoolbox.fr)... 2001:8d8:100f:f000::22a, 217.160.0.207
Connecting to www.qoolbox.fr (www.qoolbox.fr)|2001:8d8:100f:f000::22a|:80... connected.
HTTP request sent, awaiting response...

Code: Select all

[/tmp] # wget http://217.160.0.207/Par2_0.7.4.0_x86_64.qpkg.zip
--2018-07-12 03:16:50--  http://217.160.0.207/Par2_0.7.4.0_x86_64.qpkg.zip
Connecting to 217.160.0.207:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/plain]
Saving to: ‘Par2_0.7.4.0_x86_64.qpkg.zip’

Par2_0.7.4.0_x86_64.qpkg.zi     [ <=>                                        ]       0  --.-KB/s   in 0s

2018-07-12 03:16:51 (0.00 B/s) - ‘Par2_0.7.4.0_x86_64.qpkg.zip’ saved [0/0]

[/tmp] # ls -al

-rw-r--r--  1 admin    administrators     0 2018-07-12 03:16 Par2_0.7.4.0_x86_64.qpkg.zip

If it matters, my workstation (Firefox) times out too.
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: QSabNZBdPlus Not Listening on IPv6 IPs

Post by OneCD »

Are you using any automated content-blocking on your gateway device? Do you access the Internet via a proxy?

Can you try this one please? It will fail too, but should show a bit more info. It will also only try to connect to the remote IPv4 address:

Code: Select all

curl -v4 --output /share/Public/test.zip http://www.qoolbox.fr/Par2_0.7.4.0_x86_64.qpkg.zip
Here's what we should be seeing:

Code: Select all

$ curl -v4 --output test.zip http://www.qoolbox.fr/Par2_0.7.4.0_x86_64.qpkg.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 217.160.0.207...
* TCP_NODELAY set
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to www.qoolbox.fr (217.160.0.207) port 80 (#0)
> GET /Par2_0.7.4.0_x86_64.qpkg.zip HTTP/1.1
> Host: www.qoolbox.fr
> User-Agent: curl/7.52.1
> Accept: */*
> 
< HTTP/1.1 200 OK
< Content-Type: application/zip
< Content-Length: 979583
< Connection: keep-alive
< Keep-Alive: timeout=15
< Date: Thu, 12 Jul 2018 19:05:11 GMT
< Server: Apache
< Last-Modified: Wed, 04 Oct 2017 07:20:23 GMT
< ETag: "ef27f-55ab370ea3582"
< Accept-Ranges: bytes
< 
{ [1168 bytes data]
 94  956k   94  905k    0     0   108k      0  0:00:08  0:00:08 --:--:--  165k* Curl_http_done: called premature == 0
100  956k  100  956k    0     0   113k      0  0:00:08  0:00:08 --:--:--  193k
* Connection #0 to host www.qoolbox.fr left intact
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
kevinds
Newbie
Newbie
Posts: 6
Joined: July 10th, 2018, 4:56 pm

Re: QSabNZBdPlus Not Listening on IPv6 IPs

Post by kevinds »

OneCD wrote: July 12th, 2018, 2:08 pm Are you using any automated content-blocking on your gateway device? Do you access the Internet via a proxy?

Can you try this one please? It will fail too, but should show a bit more info. It will also only try to connect to the remote IPv4 address:
Worked this time

Code: Select all

*   Trying 217.160.0.207...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to www.qoolbox.fr (217.160.0.207) port 80 (#0)
> GET /Par2_0.7.4.0_x86_64.qpkg.zip HTTP/1.1
> Host: www.qoolbox.fr
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: application/zip
< Content-Length: 979583
< Connection: keep-alive
< Keep-Alive: timeout=15
< Date: Fri, 13 Jul 2018 01:06:01 GMT
< Server: Apache
< Last-Modified: Wed, 04 Oct 2017 07:20:23 GMT
< ETag: "ef27f-55ab370ea3582"
< Accept-Ranges: bytes
<
{ [1076 bytes data]
100  956k  100  956k    0     0   431k      0  0:00:02  0:00:02 --:--:--  450k
* Connection #0 to host www.qoolbox.fr left intact
[/share/Public] # ls -al
total 972
drwxrwxrwx  2 admin administrators   4096 2018-07-12 19:06 ./
drwxrwxrwx 37 admin administrators   4096 2018-07-09 00:35 ../
-rw-rw----  1 admin administrators 979583 2018-07-12 19:06 test.zip
No, there is nothing that would be interfering with traffic.
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: QSabNZBdPlus Not Listening on IPv6 IPs

Post by OneCD »

Sorry, I'm out of ideas. ???
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Post Reply