When I update to Mac 10.13.3,While I install HomeBrew and CocoaPods. the terminal will throw a OpenSSL error
the error is as follows:
fatal: unable to access 'https://github.com/Homebrew/brew/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
Failed during: git fetch origin master:refs/remotes/origin/master --tags --force
how to solve it.
Related
Despite having installed other packages successfully with brew, I am unable to install maven.
After running brew install maven, I get the following error:
curl: (18) transfer closed with 9103121 bytes remaining to read
Error: maven: Failed to download resource "maven"
Download failed: https://ghcr.io/v2/homebrew/core/maven/blobs/sha256:ff38bb52b93216582dbd13fb00be5679090ac4b66f7e7c5c8cae5f70626238bb
I am using the following versions of brew and git:
$ brew --version
Homebrew 3.3.8
Homebrew/homebrew-core (git revision 7c983d9c784; last commit 2021-12-13)
Homebrew/homebrew-cask (git revision 538992b1fb; last commit 2021-12-13)
$ git --version
git version 2.23.0
When visiting the failed download in my browser, I also get a 403 failure:
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required"}]}
This error is strange to me because I would not think brew dependencies for public taps like for maven would require authorization.
My work network/VPN was causing this error. I was able to download successfully disabling my VPN and using my mobile network connection.
I am trying to install homebrew on MacOS BigSur, using the command foudn on the homebrew web page:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
But when I do I get this error message, which I suspect has something to so with performing an unshallow clone of the repo. I don't really know how to get past it though.
==> Downloading and installing Homebrew...
fatal: unable to access 'https://github.com/Homebrew/brew/': Login denied
Failed during: git fetch --force origin
As per the client suggestion, I am using inquisition gem in my Rails 5.0 application. I followed this link and added gem in Gemfile and ran bundle, I got the following error:
E:\rails_projects\inquisition_example>bundle Fetching
https://github.com/rubygarage/inquisition.git fatal: unable to access
'https://github.com/rubygarage/inquisition.git/': error:1407742E:SSL
routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Retrying git clone "https://github.com/rubygarage/inquisition.git"
"C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/cache/bundler/git/inquisition-40e0b17fff1501354aa91e3ff3bbb85f990b5f49"
--bare --no-hardlinks --quiet due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command git clone
"https://github.com/rubygarage/inquisition.git"
"C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/cache/bundler/git/inquisition-40e0b17fff1501354aa91e3ff3bbb85f990b5f49"
--bare --no-hardlinks --quiet in directory E:/rails_projects/inquisition_example has failed. fatal: unable to
access 'https://github.com/rubygarage/inquisition.git/':
error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert
protocol version
Please help me out.
This error means that the OpenSSL version you are using in Git's libcurl is too old. GitHub only supports TLS 1.2 and 1.3, and the version of OpenSSL that libcurl is compiled with doesn't know how to negotiate those versions.
Since it looks like you're using Windows, you should update Git for Windows to the latest version, which will include an updated version of OpenSSL and libcurl so Git will work.
I get an error when I try to install a bower packeg.
My error :
MacBook-Pro-de-Anthony:Front-End anthonycluse$ bower install flexslider
bower cached git://github.com/woothemes/FlexSlider.git#ce5441b214
bower validate ce5441b214 against git://github.com/woothemes/FlexSlider.git#*
bower ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/woothemes/FlexSlider.git", exit code of #128
Additional error details:
fatal: unable to connect to github.com:
github.com[0: 192.30.252.131]: errno=Connection refused
The error may be due to proxy/certificate connectivity issues, try following command for the error exit code of #128
git config --global url."https://".insteadOf git://
I'm trying to install forem on my server, and i'm getting this error when I run bundle install:
Fetching git://github.com/radar/forem.git
fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection refused
Git error: command `git clone 'git://github.com/radar/forem.git' "/home/box1/.bundler/cache/git/forem-8662403862ddafa624baa2b55484281b10db048e" --bare --no-hardlinks` in directory /home/box1/rails_apps/forem has failed.
Try cloning using HTTP and not SSH:
git clone https://github.com/radar/forem.git
See answer and comments to similar question.