fatal: unable to access 'https://github.com/open-falcon/falcon-plus.git/': Peer reports incompatible or unsupported protocol version

时间:2023-03-09 01:23:41
fatal: unable to access 'https://github.com/open-falcon/falcon-plus.git/': Peer reports incompatible or unsupported protocol version
git通过git clone下载github上的资源到机器上,结果出现如题所示的错误。
  1. [root@server data]# git clone https://github.com/pingcap/tidb-docker-compose.git
  2. Cloning into 'tidb-docker-compose'...
  3. fatal: unable to access 'https://github.com/pingcap/tidb-docker-compose.git/': Peer reports incompatible or unsupported protocol version.
  4. [root@server data]# git --version
  5. git version 1.8.3.1
查找原因是curl,nss版本低的原因,解决办法就是更新nss,curl。
  1. [root@server data]# yum update nss curl

再次尝试克隆成功

  1. [root@server data]# git clone https://github.com/pingcap/tidb-docker-compose.git
  2. Cloning into 'tidb-docker-compose'...
  3. remote: Counting objects: 156, done.
  4. remote: Compressing objects: 100% (16/16), done.
  5. remote: Total 156 (delta 4), reused 9 (delta 0), pack-reused 135
  6. Receiving objects: 100% (156/156), 60.06 KiB | 0 bytes/s, done.
  7. Resolving deltas: 100% (58/58), done.