error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL_ errno 10054解决方法

error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054解决方法

不敢保证一定能解决,通过搜索多方博客尝试寻找解决方案,最后clone成功。(PS:不保证能成功)
http://www.wangxianfeng.cn/wordpress/2018/07/14/git使用过程中常见错误解决/
https://www.cnblogs.com/emmetyang/p/10620819.html
尝试下载ffmpeg源码时遇到问题:(PS:snapshot版本和这个版本有什么区别,欢迎大神指教)

$ git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
Cloning into 'ffmpeg'...
remote: Counting objects: 570040, done.
remote: Compressing objects: 100% (118805/118805), done.
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed



首先是出现该问题可能是上传大小限制,执行如下命令:

git config http.postBuffer 524288000

     

此时再次clone依然可能报错,这时可以尝试

git config http.sslVerify "false"

     

但是这时显示

fatal: not in a git directory

     

根据第二篇博客,使用如下命令

git config  --global   http.sslVerify "false"

     

//注意原博客命令写错了,应为–global

然后再输入

git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg

     

等待即可。

好书推荐

GitHub实践.pdf
http://notescloud.top/cloudSearch/detail?id=1097

Git和GitHub使用教程
http://notescloud.top/cloudSearch/detail?id=2379

原文链接  

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值