Read the statement by Michael Teeuw here.
Can't clone from GitHub
-
@sdetweil I rebooted the router.
-
@sdetweil I tried reinstalling git and I got the same error.
-
@MMRPi1 just to recheck
git clone https://github.com/sdetweil/MagicMirror_scripts.gitfails with the same error…
do this
cat ~/.gitconfigis there a
[http] proxy = http://mydomain\\myusername:mypassword@myproxyserver:8080 -
@sdetweil I got this instead: [http]
sslVerify = false -
ok, here is a solution I think… second response, recompile git with openssl
link to script that does the work.
-
@sdetweil what do I put instead of <my_proxy>
-
@MMRPi1 my_proxy
-
I still want that connectivity check. The Pi can see the Windows box, but I want confirmation that the Pi can see the internet.
-
@bhepler Oh yeah sorry, I did that and it worked fine, I got a bit of html
-
@MMRPi1 no… the second answer
Might be issue with gnutls Package. we have to compile a git Package with openssl instead of gnutls. Follow the below steps,
-
@sdetweil That one shows up first for me. In any case I tried and it still doesn’t work
-
@MMRPi1 u recompiled the git with openssl?? then it should give the gnutils error
sudo apt-get install -y build-essential fakeroot dpkg-dev sudo apt-get -y build-dep git sudo apt-get install -y libcurl4-openssl-dev mkdir git-openssl cd git-openssl apt-get source git cd git-* sed -i -e 's/libcurl4-gnutls-dev/libcurl4-openssl-dev/g' ./debian/control sed -i -- '/TEST\s*=\s*test/d' ./debian/rules sudo dpkg-buildpackage -rfakeroot -b sudo dpkg -i git_2.7.4-0ubuntu1.6_arm64.deb #CleanUp cd ../../ sudo rm -rf git-openssl You can follow This Bog or You can find simple script here to do that -
@sdetweil I tried that and got gnutls_handshake() failed: Close notify
But that’s the same error as before :/ -
@MMRPi1 then you are not running the openssl git…
u may have to run the pi admin tool for software and updates to enable source download… I had to
-
@sdetweil How do you do that?
-
“gnutls_handshake() failed: Close notify”… I’m sorry, I don’t understand this. Can you type out the exact error that you’re seeing? Including all the text after “failed”.
-
@bhepler fatal: unable to access: gnutls_handshake() failed: Close notify
-
the build process above doesn’t work. too old
-
@bhepler but he can git clone from windows on the same local network.
almost like an install failure or an sd card starting to fail.
-
@sdetweil - Yeah, this is all kinds of weird. He’s using what appears to be a consumer grade network router. He shouldn’t have to mess with proxy settings as he should just be behind the NAT functions. And even if he was, it should also affect his Windows installation.
Let’s try to reinstall git one more time, if you please:
sudo apt remove git --purge sudo apt install git
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login