Git推送失败.错误:RPC失败;curl 56 LibreSSL SSL_read:SSL_ERROR_SYSCALL,错误60

问题描述:

当我尝试将代码推送到 bitbucket 时,在终端中出现此错误.

When I am trying to push my code to bitbucket, I am getting this error in terminal.

* LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60
* stopped the pause stream!
* Closing connection 2
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

我已经尝试过的解决方案

  1. 增加git缓冲区的大小: git config http.postBuffer 524288000
  2. 已删除.git并重新启动设置
  3. 重新启动网络.(虽然不是网络问题)
  4. 重新启动系统.
  5. 检查了代码库中大于100MB的文件以从提交中重置.没有文件超出限制.
  6. 添加了 export GIT_TRACE_PACKET = 1 export GIT_TRACE = 1 export GIT_CURL_VERBOSE = 1 来检查详细的日志,除以上错误.
  1. Increasing git buffer size : git config http.postBuffer 524288000
  2. Deleted .git and re-initiated setup
  3. Restarted network. (Not a network issue though)
  4. Restarted system.
  5. Checked code base for files which are greater than 100MB to reset from commit. None of the files exceeds the limit.
  6. Added export GIT_TRACE_PACKET=1, export GIT_TRACE=1, export GIT_CURL_VERBOSE=1 to check the verbose logs, None were logged except the above error.

任何解决该问题的帮助将不胜感激.

Any help that solves the issue would be appreciated.

我很奇怪地能够从一个存储库中推送,而不能从另一个存储库中推送.我在网上发现的所有解决方案都没有对我有用,但是重启我的VPN对我有用.也许这会对某人有所帮助.

I was able to push from one repo and not the other, weirdly. None of the solutions I found online worked for me, but restarting my VPN worked for me. Maybe this will help someone.