Since a few days I got an issue with Mac OS High Sierra 10.13.3 :
When I run a git clone
like git clone github.com/xxx.git failed
it print:
I would suggest updating git. If you downloaded the .pkg
then be sure to uninstall it first.
I had this similar error when using wget ...
, and after much unfruitful searching in the Internet, I discovered that it was happening when hostnames were being resolved to IPv6 addresses. I discovered this by comparing the outputs of wget ...
in two machines, one was resolving to IPv4 and it worked there, the other was resolving to IPv6 and it failed there.
So the solution in my case was to run networksetup -setv6off Wi-Fi
on macOS High Sierra 10.13.6. (I discovered this command in this page).
Hope this helps you.
same issue with KAV. Restart it solved the pb.
The problem for me seems to have been how the user has been setup on my local machine to. Using the command
git push -u origin master
was causing the error. Removing the switch -u
to have
git push origin master
solved it for me. It can be scary to imagine how user setup can result in an error related to LibreSSL.
I just turned off VPN and it solved the issue.
From https://github.com/Homebrew/brew/issues/4436#issuecomment-403194892
Issue solved by setting this env variable:
export HOMEBREW_FORCE_BREWED_CURL=1