Wget SSL errors : Unable to update DietPi Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Wget SSL errors : Unable to update DietPi

Post by Fourdee »

stum100 wrote:Hi,

Just tried both, this is what I get:

Code: Select all

 ───────────────────────────────────────
 DietPi | 14:04 | Tue 01/12/15                               ───────────────────────────────────────
 V94 | Raspberry Pi 2 (1GB)                                  ───────────────────────────────────────

 Created by: Dan Knight
 DietPi Website: http://dietpi.net                           Donate and support DietPi: http://goo.gl/DCY1vq

 Commands:
 dietpi-config    = Feature rich system configuration tool.
 dietpi-software  = Select / Install optimized software.
 dietpi-uninstall = Remove DietPi Installed Software.
 dietpi-bugreport = Found an issue or bug? Let us know!
 htop             = Resource monitor.
 cpu              = Shows CPU information and stats.

root@NETSERV:~# wget --retry-connrefused --no-check-certificate https://raw.githubusercontent.com/Fourdee/DietPi/testing
root@NETSERV:~# wget --retry-connrefused --no-check-certificate https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/server_version                                      --2015-12-01 14:06:03--  https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/server_version                 Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 62.252.172.241
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|62.252.172.241|:443... connected.
GnuTLS: A TLS fatal alert has been received.
GnuTLS: received alert [0]: Close notify
Unable to establish SSL connection.
root@NETSERV:~# cat server_version
cat: server_version: No such file or directory
root@NETSERV:~#
root@NETSERV:~#
root@NETSERV:~# curl -L https://github.com/Fourdee/DietPi/archive/testing.zip > test.zip;echo -e "Exitcode = $?";
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--100   120    0   120    0     0    234      0 --:--:-- --:--:-- --:--:--   238
  0     0    0     0    0     0      0      0 --:--:-- --:--100  218k  100  218k    0     0   145k      0  0:00:01  0:00:01 --:--:--  266k
Exitcode = 0
root@NETSERV:~# rm test.zip
Thanks for the info Stum. I've updated the code for v102, dietpi-update will now use curl: https://github.com/Fourdee/DietPi/issue ... -160978864

I'll let you guys know when v102 is released. You will need to use that image for the fix.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Huffpuffin
Posts: 15
Joined: Thu Nov 26, 2015 6:59 pm

Re: Wget SSL errors : Unable to update DietPi

Post by Huffpuffin »

Hi Dan

My output for your tests are:

root@Homeserver:~# wget --retry-connrefused --no-check-certificate https://raw.githubusercontent.com/Fourd ... er_version
--2015-12-02 17:35:41-- https://raw.githubusercontent.com/Fourd ... er_version
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 62.252.172.241
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|62.252.172.241|:443... connected.
GnuTLS: A TLS fatal alert has been received.
GnuTLS: received alert [0]: Close notify
Unable to establish SSL connection.
root@Homeserver:~# cat server_version

and

root@Homeserver:~# curl -L https://github.com/Fourdee/DietPi/archive/testing.zip > test.zip;echo -e "Exitcode = $?";
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 120 0 120 0 0 218 0 --:--:-- --:--:-- --:--:-- 220
100 221k 0 221k 0 0 145k 0 --:--:-- 0:00:01 --:--:-- 870k
Exitcode = 0
root@Homeserver:~# rm test.zip

I note your comment about VirginMedia being your ISP. For what it's worth, VM are my ISP as well. Nothing has changed on my home network recently, except I had one of their speed upgrades about 3/4 weeks ago. My router is SH2 in router mode.

Don't know if this is relevant??
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Wget SSL errors : Unable to update DietPi

Post by Fourdee »

Huffpuffin wrote: My output for your tests are:

I note your comment about VirginMedia being your ISP. For what it's worth, VM are my ISP as well. Nothing has changed on my home network recently, except I had one of their speed upgrades about 3/4 weeks ago. My router is SH2 in router mode.
Thanks for the test results and info.

I'am currently using the SH2 in Modem mode with TPlink AC750 as my router. I'am yet to have the speed upgrade, but i'd be surprised if that is what causes the issue.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
stum100

Re: Wget SSL errors : Unable to update DietPi

Post by stum100 »

I forgot to add that Virgin Media are also my ISP, and not too long ago I also had an email from them informing me that my connection was to be upgraded to their new VIVID service.

I have the original Super Hub also used in Modem mode, but with an ASUS router, I've also tried it with a Netgear using DD-WRT with the same result.
stum100

Re: Wget SSL errors : Unable to update DietPi

Post by stum100 »

Morning all,

Just logged in this morning and seen this...
dietpi_update.png
Huffpuffin
Posts: 15
Joined: Thu Nov 26, 2015 6:59 pm

Re: Wget SSL errors : Unable to update DietPi

Post by Huffpuffin »

Hi Dan

Just seen stum100's post about update available! I didn't even try with my V94 image, but downloaded latest image. I ran dietpi-update and got the following:

Code: Select all

âââââââââââââââââââââââââââââââââââââââ
 DietPi | 11:57 | Fri 04/12/15
 âââââââââââââââââââââââââââââââââââââââ
 V102 | Raspberry Pi 2 (1GB)
 âââââââââââââââââââââââââââââââââââââââ
 DietPi Update - No updates required
 Your DietPi installation is upto date

 - Current Version : 102
 - Server Version  : 102

root@Homeserver:~# 
Looking good! Thanks again for all your hard work. Some serious learning to do now!
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Wget SSL errors : Unable to update DietPi

Post by Fourdee »

Huffpuffin wrote: DietPi Update - No updates required
Your DietPi installation is upto date

- Current Version : 102
- Server Version : 102

root@Homeserver:~# [/code]

Looking good! Thanks again for all your hard work. Some serious learning to do now!
Awesome, great to hear you can now install/update DietPi. :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply