Hi Everyone!
I'd just like to say I'm quite a novice at this, so there might be something obvious I'm doing wrong (which I have overlooked).
Essentially, I'm unable to update DietPi when I enter "dietpi-update". Instead I get the following:
--2015-11-18 17:56:49-- https://raw.githubusercontent.com/Fourdee/DietPi/master /dietpi/server_version
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 62.252.172.24 1
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|62.252.172.2 41|:443... connected.
GnuTLS: A TLS fatal alert has been received.
GnuTLS: received alert [0]: Close notify
Unable to establish SSL connection.
I get this error with a newly imaged SD card with Jessie, currently on v94.
Any help on this would be greatly appreciated.
Wget SSL errors : Unable to update DietPi
Re: Unable to update DietPi
Hi Stum,stum100 wrote:Hi Everyone!
I'd just like to say I'm quite a novice at this, so there might be something obvious I'm doing wrong (which I have overlooked).
Essentially, I'm unable to update DietPi when I enter "dietpi-update". Instead I get the following:
--2015-11-18 17:56:49-- https://raw.githubusercontent.com/Fourdee/DietPi/master /dietpi/server_version
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 62.252.172.24 1
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|62.252.172.2 41|:443... connected.
GnuTLS: A TLS fatal alert has been received.
GnuTLS: received alert [0]: Close notify
Unable to establish SSL connection.
I get this error with a newly imaged SD card with Jessie, currently on v94.
Any help on this would be greatly appreciated.
Never seen this one before. Must be network related.
Can you try the following command for me and let me know what is says:
Code: Select all
wget --no-check-certificate https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version
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: Unable to update DietPi
Hi,
I've just tried that but I get exactly the same error. I've tested the Internet connection through dietpi-config and that works fine.
It's quite strange, not too sure what else to do?
I've just tried that but I get exactly the same error. I've tested the Internet connection through dietpi-config and that works fine.
It's quite strange, not too sure what else to do?
Re: Unable to update DietPi
Just a further update...
I've also just tried an SD card with a fresh install of Wheezy, and that does exactly the same during initial setup.
My current setup is using a Wired connection with a static IP, although I've also tried a wireless connection with dynamic IP - both with the same results.
I'm able to communicate fine with the Rpi2 via SSH and also install other pre-configued software fine using "dietpi-software".
I've also just tried an SD card with a fresh install of Wheezy, and that does exactly the same during initial setup.
My current setup is using a Wired connection with a static IP, although I've also tried a wireless connection with dynamic IP - both with the same results.
I'm able to communicate fine with the Rpi2 via SSH and also install other pre-configued software fine using "dietpi-software".
Re: Unable to update DietPi
A quick google shows this may be an issue with Wget and certain ssl certificates types on the server (GitHub).stum100 wrote:Hi,
I've just tried that but I get exactly the same error. I've tested the Internet connection through dietpi-config and that works fine.
It's quite strange, not too sure what else to do?
Can you try the following commands and let me know results please:
Code: Select all
wget --secure-protocol=TLSv1 https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version
Code: Select all
curl -L -O https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version
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: Unable to update DietPi
Hi,
I've just tried what you suggested, the results are below:
root@dietpi:~# wget --secure-protocol=TLSv1 https://raw.githubusercontent.com/Fo urdee/DietPi/master/dietpi/server_version
--2015-11-19 19:31:59-- https://raw.githubusercontent.com/Fourdee/DietPi/master /dietpi/server_version
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 62.252.172.24 1
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|62.252.172.2 41|:443... connected.
GnuTLS: A TLS fatal alert has been received.
Unable to establish SSL connection.
root@dietpi:~# curl -L -O https://raw.githubusercontent.com/Fourdee/DietPi/maste r/dietpi/server_version
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5 100 5 0 0 16 0 --:--:-- --:--:-- --:--:-- 19
I've just tried what you suggested, the results are below:
root@dietpi:~# wget --secure-protocol=TLSv1 https://raw.githubusercontent.com/Fo urdee/DietPi/master/dietpi/server_version
--2015-11-19 19:31:59-- https://raw.githubusercontent.com/Fourdee/DietPi/master /dietpi/server_version
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 62.252.172.24 1
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|62.252.172.2 41|:443... connected.
GnuTLS: A TLS fatal alert has been received.
Unable to establish SSL connection.
root@dietpi:~# curl -L -O https://raw.githubusercontent.com/Fourdee/DietPi/maste r/dietpi/server_version
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5 100 5 0 0 16 0 --:--:-- --:--:-- --:--:-- 19
Re: Unable to update DietPi
Just another thought...
Is there a way I can update wget? My current version is 1.13.4.
Do you think there would be any benefit in doing this?
Is there a way I can update wget? My current version is 1.13.4.
Do you think there would be any benefit in doing this?
Re: Unable to update DietPi
You can download directly from the debian package list:stum100 wrote:Just another thought...
Is there a way I can update wget? My current version is 1.13.4.
Do you think there would be any benefit in doing this?
https://packages.debian.org/search?keywords=wget
You'll want to download the armhf package.
Here is the package for 1.16.3-3:
https://packages.debian.org/stretch/armhf/wget/download
to install:
Code: Select all
dpkg -i packagename.deb
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: Unable to update DietPi
Thanks for the help, I don't think I'm competent enough to know how to try and update wget correctly.
I don't really know what else to try, am I really the only person with this problem trying to update using an Rpi2?
I don't really know what else to try, am I really the only person with this problem trying to update using an Rpi2?
Re: Unable to update DietPi
This is the 1st and only time a user has reported this issue. It must be related to your network in some way (WAN/LAN). Now, what the cause may be, unfortunately, i'am out of ideas.stum100 wrote:Thanks for the help, I don't think I'm competent enough to know how to try and update wget correctly.
I don't really know what else to try, am I really the only person with this problem trying to update using an Rpi2?
I cant promise anything, but when I get some free time i'll look at trying the latest wget my end, or, updating DietPi to use curl instead. If i get anywhere, i'll let you know.
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.