That'll be great, I appreciate your help with this.
I've been scratching my head for a while. Just to add though - I've tried rebooting my router, I've also tried with both an Ethernet and Wireless connection to the Rpi2; both with exactly the same results.
From what I can remember, the problem began when I decided to start with a clean install of the DietPi v94 image. I started with Jessie, thought that might be it, so tried Wheezy but that was the same.
I had been previously been using DietPi and it had been working great and was also updating correctly. From memory, I think I started using it around mid to end of September, I'm wondering whether the image I used would have been v94, or perhaps something earlier?
Is it possiblity that current DietPi users started from an earlier image (before v94), and perhaps that's why it's updating fine (as it was originally for me),
I know I'm plucking at thin air now, just a thought though...
Many thanks again.
Wget SSL errors : Unable to update DietPi Topic is solved
-
- Posts: 15
- Joined: Thu Nov 26, 2015 6:59 pm
Re: Unable to update DietPi
Hi All
Another newbie here!
I am experiencing the exact same problem:
RPi2, with both Wheezy and Jessie. Have tried new images and SD cards. Have the same error messages as stum100.
Would be really grateful for any help. I have tried minibian, but much prefer DietPi.
Thanks in advance.
Another newbie here!
I am experiencing the exact same problem:
RPi2, with both Wheezy and Jessie. Have tried new images and SD cards. Have the same error messages as stum100.
Would be really grateful for any help. I have tried minibian, but much prefer DietPi.
Thanks in advance.
Re: Unable to update DietPi
Hi Huffpuffin,Huffpuffin wrote:Hi All
Another newbie here!
I am experiencing the exact same problem:
RPi2, with both Wheezy and Jessie. Have tried new images and SD cards. Have the same error messages as stum100.
Would be really grateful for any help. I have tried minibian, but much prefer DietPi.
Thanks in advance.
Thanks for the info.
I'll convert wget to curl throughout DietPi. This will resolve the SSL issues both of you are experiencing.
Git Ticket: https://github.com/Fourdee/DietPi/issues/125
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.
Donating is the easiest – you can use PayPal or become a DietPi patron.
-
- Posts: 15
- Joined: Thu Nov 26, 2015 6:59 pm
Re: Wget SSL errors : Unable to update DietPi
Hi Dan
Your help is much appreciated.
When you manage to implement the change, will I need to download a fresh image or will update work automatically?
Thanks
Your help is much appreciated.
When you manage to implement the change, will I need to download a fresh image or will update work automatically?
Thanks
Re: Wget SSL errors : Unable to update DietPi
Hi Huffpufin,Huffpuffin wrote:Hi Dan
Your help is much appreciated.
When you manage to implement the change, will I need to download a fresh image or will update work automatically?
Thanks
A new image will be required. I'am creating new images for the v102 release at the moment. I'll let you guys know when they are available.
I still have to do further research on a fix for this issue, you can track it here: https://github.com/Fourdee/DietPi/issue ... -160417710
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.
Donating is the easiest – you can use PayPal or become a DietPi patron.
-
- Posts: 15
- Joined: Thu Nov 26, 2015 6:59 pm
Re: Wget SSL errors : Unable to update DietPi
Thanks for the update. Will look out for it.
Many thanks again for your excellent service!!
Many thanks again for your excellent service!!
Re: Wget SSL errors : Unable to update DietPi
Hi,
I'd also like to thank you for your help with this. Out of interest, I see from the bug tracker that the issue is probably network related, but I'm curious to know what potentially may cause this?
Is this something to do with the certificates used on GitHub? Or something to do with my own internal network causing the problem?
Many thanks.
I'd also like to thank you for your help with this. Out of interest, I see from the bug tracker that the issue is probably network related, but I'm curious to know what potentially may cause this?
Is this something to do with the certificates used on GitHub? Or something to do with my own internal network causing the problem?
Many thanks.
Re: Wget SSL errors : Unable to update DietPi
I'am unsure what's causing the issue, if i'm honest.stum100 wrote:Hi,
I'd also like to thank you for your help with this. Out of interest, I see from the bug tracker that the issue is probably network related, but I'm curious to know what potentially may cause this?
Is this something to do with the certificates used on GitHub? Or something to do with my own internal network causing the problem?
Many thanks.
I was able to replicate the error at another address. Both of us use Virgin Media fibre but mine is fine. The only difference between the two locations is the router. I use a TP-link archer, the other address was a netgear (forgot to take model numbers

It could be a github/dns issue as it seems none of the wget command line options (eg: force TLS/SSL) makes a difference.
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.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Wget SSL errors : Unable to update DietPi
Hi guys, can any of you with this issue please try the following and reply with results:
And:
Code: Select all
wget --retry-connrefused --no-check-certificate https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/server_version
cat server_version
Code: Select all
curl -L https://github.com/Fourdee/DietPi/archive/testing.zip > test.zip;echo -e "Exitcode = $?";
rm test.zip
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.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Wget SSL errors : Unable to update DietPi
Hi,
Just tried both, this is what I get:
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