夜空酱

git clone 报错:Peer reports incompatible or unsupported protocol version解决办法
git通过git clone下载github上的资源到机器上,结果出现如题所示的错误。[root@783228e3...
扫描右侧二维码阅读全文
31
2018/10

git clone 报错:Peer reports incompatible or unsupported protocol version解决办法

git通过git clone下载github上的资源到机器上,结果出现如题所示的错误。

[root@783228e3-9148-4d67-af13-c8247205feed ~]# git clone -b manyuser https://github.com/esdeathlove/shadowsocks.git
Cloning into 'shadowsocks'...
fatal: unable to access 'https://github.com/esdeathlove/shadowsocks.git/': Peer reports incompatible or unsupported protocol version.

查找原因是curl,nss版本低的原因,解决办法就是更新nss,curl。

# yum update nss curl

再次尝试克隆成功

[root@56ae8405-5765-45a0-b11f-b5d821c9be93 ~]# git clone -b manyuser https://github.com/esdeathlove/shadowsocks.git
Cloning into 'shadowsocks'...
remote: Enumerating objects: 8289, done.
remote: Total 8289 (delta 0), reused 0 (delta 0), pack-reused 8289
Receiving objects: 100% (8289/8289), 3.49 MiB | 2.05 MiB/s, done.
Resolving deltas: 100% (5692/5692), done.
[root@56ae8405-5765-45a0-b11f-b5d821c9be93 ~]# 
Last modification:October 31st, 2018 at 12:33 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment