git使用https协议出错:Peer reports incompatible or unsupported protocol version.

2019-11-15T23:11:51

git通过git clone下载github上的资源到机器上,结果出现如题所示的错误。
[scode type="red"]fatal: unable to access 'https://github.com/wenshaoyan/function-interceptor/': Peer reports incompatible or unsupported protocol version.[/scode]
查找原因是curl,nss版本低的原因,解决办法就是更新nss,curl。

yum update nss curl    # nss为名称解析和认证服务 curl为网络请求库

再次尝试克隆成功

当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »