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相关的配置文件被更新过。以后找到问题在更新。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值