I am facing this issue in jenkins when i run bower install --allow-root. The build fails displaying the following error: Failed to execute "git ls-remote --tags --heads https://github.com/gabelerner/canvg.git
final build failure error displays as follows:
fatal: unable to access 'https://github.com/gabelerner/canvg.git/': Peer reports incompatible or unsupported protocol version
It shows the same error with different GIT file paths.
Previous error was : Error fetching remote repo 'origin'
which we solved changing the SSH key.
If we remove bower install command from the build, the build is successful.
Any help would be appreciated.
This may be the reason to your problem: Discontinue support for weak cryptographic standards
....As a result, GitHub is announcing the immediate deprecation, and eventual disablement, of our use of the following cryptographic standards:
TLSv1/TLSv1.1 - This applies to all HTTPS connections, including web, API, and git connections to https://github.com and https://api.github.com. diffie-hellman-group1-sha1 - This applies to all SSH connections to github.com. diffie-hellman-group14-sha1 - This applies to all SSH connections to github.com. All of the above will be disabled on February 1, 2018.
so you need to upgrade to stronger ciphers. I see that this solution helped others github-unable-to-access-ssl-connect-error
yum update -y nss curl libcurl
I hope this helps
fatal: unable to access 'https://github.com/john/git-Training.git/': Peer reports incompatible or unsupported protocol version.
I upgraded to the newest cipher, the fatal error was gone.
[john@doe git-Training]$ sudo yum update -y nss curl libcurl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With