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 -返回错误
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 -返回错误
相关文章推荐
- error: linker command failed with exit code 1 (use -v to see invocation)报错总结
- main函数执行前后--全局构造和atexit
- elasticsearch按照配置时遇到的一些坑 [Failed to load settings from [elasticsearch.yml]]
- Maven install报错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
- LeetCode 217. Contains Duplicate
- Non-dairy creamer 植脂末
- CDISC SDTM DA domain 学习笔记
- 通过 IceWarp WebMail 智能附件轻松发送超大文件
- ERROR: rpc error: code = 2 desc = "oci runtime error: could not synchronise with container process:
- FlywayException:Validate failed:Migration checksum mismatch
- HDU——2473Junk-Mail Filter(并查集删点)
- Cisco DHCP Snooping + Dynamic ARP Inspection(DAI)
- Failed to load class "org.slf4j.impl.StaticLoggerBinder问题故障的解决
- DDD中的Unitwork与DomainEvent如何相容?(续)
- Could not find a storyboard named 'Main' in bundle NSBundle
- Maven打包带main函数的jar
- CONTAINING_RECORD
- CreateWaitableTimer和SetWaitableTimer函数
- 80老翁谈人生(12):强烈呼吁高校招生系统引进人工智能(机器人)
- 用正则表达式提取单个页面文件里Email地址的简单实现