Qnap failed to download setup.sh


#1

New install of DVR package to QNAP failed with this error reported "failed to download setup.sh". I have SSHed into nas and pinged google successfully. QNAP is TS-231 running 4.3.5.0760 firmware.


#2

Can you run this command over ssh and see if it works:

curl https://getchannels.com/dvr/setup.sh


#3

"curl couldn't resolve host 'https' "


#4

What does "curl --version" say


#5

curl 7.43.0


#6

I need to see all the output


#7

[~] # curl --version

curl 7.43.0 (arm-openwrt-linux-gnu) libcurl/7.43.0 OpenSSL/1.0.0t zlib/1.2.7 libidn/1.9

Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs s mtp smtps telnet tftp

Features: IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets

[~] #


#8

It says it has support for https. Can you paste the full command and output when you try the first curl command above?


#9

must have had a typo the first time, different error.

[~] # curl https://getchannels.com/dvr/setup.sh

curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

[~] #


#10

[/share/Download] # chmod +x /path/to/setup.sh
chmod: /path/to/setup.sh: No such file or directory
[/share/Download] # chmod +x /share/Download/setup.sh
[/share/Download] # ./setup.sh
Downloading Channels DVR 2018.11.20.2224 (linux-armv7l) to /share/Download/channels-dvr.....

ERROR: Installation of Channels DVR failed.
ERROR: Please contact [email protected] with the full output above.


#11

There's some sort of SSL error going on when trying to make the encrypted HTTPS connection to our server. Strange because it used to work fine before. I guess something changed in the latest QTS 4.3

Let me do some research and see how to work around the issue..