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

链接:https://www.jianshu.com/p/047081fdd5bc

今天在linux上执行git pull 报错(github上的项目 使用https协议)

fatal: unable to access 'https://github.com/wenshaoyan/function-interceptor/': Peer reports incompatible or unsupported protocol version.

查看下git版本,为1.8.x(默认yum源的版本),故猜到为版本太低造成的问题。升级git最新版后再执行git pull,还是报错。尝试升级了下基本的包

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

再执行git pull 既然不报错。初步估计为nss相关的系统文件被修改了,重新更新之后有部分nss相关的配置文件被更新过。以后找到问题在更新。

猜你喜欢

转载自blog.csdn.net/qq_35845964/article/details/88713893
今日推荐