您的位置:首页 > 大数据 > 人工智能

CocoaPods错误:fatal: unable to access ''SSLRead() return和error: RPC failed; result=56, HTTP code = 200

2016-06-23 11:53 615 查看
比如:

fatal: unable to access 'https://github.com/AFNetworking/AFNetworking.git/': SSLRead() return error -9806

比如:

error: RPC failed; result=56, HTTP code = 200

error: RPC failed; curl 56 SSLRead() return error -36

推测可能是天朝网络带宽问题,git下载速度比较慢,curl的postBuffer 默认值较小的原因,配置下个这个值,就不会出现该错误了.

解决方法:终端输入以下命令

git config http.postBuffer 24288000

如果还是不行,你更新的第三方库不多,可以开个热点,我最近又碰到了,开个热点就好了

下面是http://stackoverflow.com的回复答案

Possible error due to low internet connection. This error occurred when you try to connect to server through ssl and net connection drop immediately. Or some time due to frequent disconnection. YOu can find more
about this here http://flummox-engineering.blogspot.in/2014/04/sslread-return-error-9806-server.html
可能由于低网络连接错误。这个错误发生在您尝试连接到服务器通过ssl和网络连接立即下降。由于频繁的断开或一段时间。在这里你可以找到更多关于http://flummox - 9806 server.html engineering.blogspot.in/2014/04/sslread -返回错误

  
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: