Read the statement by Michael Teeuw here.
Can't clone from GitHub
-
@bhepler Thanks so much. I feel rather silly knowing that a simple reboot would resolve the SSH issue. Unfortunately, I still can’t access git though.
-
@MMRPi1 said in Can't clone from GitHub:
Unfortunately, I still can’t access git though.
one thing at a time!..
-
@sdetweil You’re right, the SSH is all sorted
-
@MMRPi1 eh? ‘all sorted’ means working to me
-
@sdetweil Yes I can SSH into the pi fine now.
-
@MMRPi1 ok, I missed that … what did u reboot? the pi, or the router?
let remove git and reinstall it
sudo apt-get remove git
sudo apt-get install git -
@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
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