(ubuntu - How to fix git error: RPC failed; curl 56 GnuTLS)
发布于 2016-07-14 15:58:01
我使用Ubuntu 16.04。当我想git push origin master时,我得到:
error: RPC failed; curl 56 GnuTLS recv error (-12): A TLS fatal alert has been received.
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
整个过程可能需要1个小时左右
在Ubuntu 16.04上花费了大约10分钟!对于步骤7,在debian / rules中删除了“ TEST = test”行之后,我还更改了OPTS中的NO_OPENSSL = 0,并在步骤8中添加了“ -uc -us”,以便不对软件包进行签名。
在执行时
git clone
,我有同样的错误,这个解决方案救了我!error: RPC failed; curl 18 transfer closed with outstanding read data remaining
在您所链接的文章的结尾,我作为评论的人之一。我确认删除测试会节省大量时间,而-uc -us需要创建自定义程序包。但是,我还没有尝试过NO_OPENSSL = 0 ...目前,我对我的解决方法很满意(发布为答案)。您对Ubuntu-18有什么短期解决方案吗?或以上将工作?