简体   繁体   English

git push 错误:RPC 失败; curl 52 OpenSSL SSL_read:连接已重置,错误号 10054

[英]git push error: RPC failed; curl 52 OpenSSL SSL_read: Connection was reset, errno 10054

While pushing code to the branch from Git Bash terminal to a repository I am getting the following error:在将代码从Git Bash终端推送到分支到存储库时,我收到以下错误:

在此处输入图片说明

How can I resolve this issue?我该如何解决这个问题?

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:这在正常情况下不应该发生,但有时由于各种问题会发生:

  • If you are using a non-default antivirus or firewall, these can tamper with network connections and cause problems like this.如果您使用的是非默认防病毒软件或防火墙,它们可能会篡改网络连接并导致此类问题。 If you're using one of these, try completely uninstalling these, rebooting, enabling Windows Defender and Windows Firewall, and then trying again.如果您正在使用其中之一,请尝试完全卸载它们,重新启动,启用 Windows Defender 和 Windows 防火墙,然后重试。
  • This can also be caused by other types of proxies or TLS middleboxes.这也可能是由其他类型的代理或 TLS 中间件引起的。 You can try connecting from a network that doesn't use these to see if it fixes the problem.您可以尝试从不使用这些的网络进行连接,看看是否能解决问题。
  • This can be caused by various network problems or (in some countries) intentional action on the part of your ISP.这可能是由各种网络问题或(在某些国家/地区)您的 ISP 的故意操作引起的。 You can do some standard network diagnostics to see if you see things like packet loss or other network problems.您可以进行一些标准的网络诊断,看看您是否发现丢包或其他网络问题之类的问题。

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.

相关问题 git 克隆错误:RPC 失败; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054 - git clone error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054 错误:RPC 失败; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054 - error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054 如何解决'错误:RPC失败; curl 56 OpenSSL SSL_read:将文件推送到 github 存储库时连接已重置,errno 10054'? - How can solve 'error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054' when pushing files to a github repository? Git 推送失败。 错误:RPC 失败; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60 - Git push getting failed. error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60 “错误:RPC 失败;HTTP 403 curl 56 OpenSSL SSL_read:连接被中止,在 master 中推送代码时出现 errno 10053” - "Error : RPC failed; HTTP 403 curl 56 OpenSSL SSL_read: Connection was aborted, errno 10053 while pushing code in master " git 克隆致命:无法访问“https://github.com/snsnsjsn/allen.github.io/”:OpenSSL SSL_read:连接已重置,errno 10054 - git clone fatal: unable to access 'https://github.com/snsnsjsn/allen.github.io/': OpenSSL SSL_read: Connection was reset, errno 10054 错误:RPC失败; curl 56 OpenSSL SSL_read:错误:140943FC:SSL例程:ssl3_read_bytes:sslv3警报错误记录mac,errno 0 - error: RPC failed; curl 56 OpenSSL SSL_read: error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac, errno 0 RPC 失败; curl 56 OpenSSL SSL_read:错误:140943FC:SSL 例程:ssl3_read_bytes:ssl3_read_bytes:s slv3警报器坏记录 - RPC failed; curl 56 OpenSSL SSL_read: error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac, errno 0 Git 推送错误:RPC 失败:curl 52 - Git push error: RPC failed: curl 52 将代码推送到 aws codeCommit 时出现此错误 --> repo: RPC failed; curl 56 LibreSSL SSL_read:SSL_ERROR_SYSCALL,错误号 54 - while push code into aws codeCommit getting this error --> repo : RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM