How to Fix Git Fetch error on CentOS - ChuanyuWang/test GitHub Wiki

Problem

Get error on CentOS 7.0 with below command

$git fetch --progress
fatal: unable to access 'https://github.com/ChuanyuWang/test.git/': Peer reports incompatible or unsupported protocol version.

Similar to How to fix error: failed to download on rbenv install

Solution

Some old/vulnerable NSS is used for SSL within cURL library when you go to some url, so it's rejected. So within this machine you have chance to fail to run cURL related commands such as pycurl.

It seems the NSS is bundle with CentOS 7.0 VM, so you can update NSS libraries as following.

yum update curl nss

or

yum update curl nss nss-util nspr