error: RPC failed; curl 18 transfer closed with outstanding read data remaining的解决
Posted dxgg-bond
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error: RPC failed; curl 18 transfer closed with outstanding read data remaining的解决相关的知识,希望对你有一定的参考价值。
解决方案也是网上搜的,总结一下
一,加大缓存区
git config --global http.postBuffer 524288000
这个大约是500M
二、少clone一些,–depth 1
git clone https://github.com/flutter/flutter.git --depth 1
–depth 1的含义是复制深度为1,就是每个文件只取最近一次提交,不是整个历史版本。
三、换协议
clone http方式换成SSH的方式,即 https:// 改为 git://
例如git clone https://github.com/flutter/flutter.git
换成git clone git://github.com/flutter/flutter.git
以上是关于error: RPC failed; curl 18 transfer closed with outstanding read data remaining的解决的主要内容,如果未能解决你的问题,请参考以下文章
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL
关于Git上传项目报错error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
使用git提交时报错:error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity
git clone error:RPC failed; curl 18 transfer closed with outstanding read data remaining
Mac 下安装 HomeBrew;RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54