码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2018-05-26 22:17:46      阅读:2334      评论:0      收藏:0      [点我收藏+]

标签:repo   clone   views   str   tool   source   csdn   https   log   

git通过git clone下载github上的资源到机器上,结果出现如题所示的错误。
[plain] view plain copy
 
  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。
[plain] view plain copy
 
  1. [root@server data]# yum update nss curl  

再次尝试克隆成功

[plain] view plain copy
 
  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.  

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

标签:repo   clone   views   str   tool   source   csdn   https   log   

原文地址:https://www.cnblogs.com/S--S/p/9094425.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!