[英]git push error: RPC failed; curl 52 OpenSSL SSL_read: Connection was reset, errno 10054
This message means that something between Git and the remote server caused the network connection to be unexpectedly reset.此消息表示 Git 和远程服务器之间的某些事情导致网络连接意外重置。 This should not happen in normal situations, but sometimes it does due to various issues:这在正常情况下不应该发生,但有时由于各种问题会发生:
In general, setting http.postBuffer
is not effective for this problem, as outlined in the Git FAQ .一般来说,设置http.postBuffer
对这个问题无效,如 Git FAQ 中所述。 If it does work, then that means you either have a transient network problem, and it just happened to work that time, or you have something tampering with your data, and it's broken, and you should remove that program or device from your system or network.如果它确实有效,那么这意味着您要么遇到了暂时性的网络问题,并且恰好在那个时候起作用,要么您的数据被篡改,并且损坏了,您应该从系统中删除该程序或设备,或者网络。 So one of the above issues is likely the cause nevertheless.因此,上述问题之一可能是原因。
Hmm.唔。 Does your commit have large files?你的提交有大文件吗? Have you set your post buffer to a higher number?您是否将帖子缓冲区设置为更高的数字? It defaults (IIRC) to 50mb.它默认 (IIRC) 为 50mb。
Try:尝试:
$git config http.postBuffer 5000000000
If that's not it, then it's still something about your connection that is causing the remote to close your connection without reading the contents.如果不是这样,那么仍然是您的连接导致遥控器关闭您的连接而不读取内容。 You might check your firewall connections, or ensure the remote doesn't automatically refuse whatever you are sending over.您可能会检查您的防火墙连接,或确保遥控器不会自动拒绝您发送的任何内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.