【问题标题】:Can't push to Github or Bitbucket无法推送到 Github 或 Bitbucket
【发布时间】:2018-11-10 14:18:37
【问题描述】:

尝试将更改推送到托管在 Github 上的存储库时,我遇到了这个非常奇怪的错误。我认为这是一个 Github 问题,所以我将 repo 移到了 Bitbucket,但仍然遇到同样的错误。对于如何解决此问题,我们将不胜感激。

注意:clonepull 工作得很好。 push 但是会导致问题。

> git push
Counting objects: 3, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 352 bytes | 352.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0)
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

【问题讨论】:

  • 看看这里 confluence.atlassian.com/bitbucketserverkb/git-push-fails-fatal-the-remote-end-hung-up-unexpectedly-779171796.ht
  • @Christoph 感谢您的链接。我已经读过了。我尝试推送的大小非常小(352 字节),也没有设置代理。
  • 试试 git push origin。如果远程被称为原点......如果这无助于显示 git remote show origin 的结果。
  • @Christoph 我将push.default 设置为upstream。但即使使用git push origin master 运行它也会出现同样的错误。
  • 你的问题解决了吗?

标签: git curl github bitbucket git-push


【解决方案1】:

对于我的案例 errno 54,我使用

删除了我的 git 代理

git config --global --unset https.proxy

有效。

【讨论】:

    猜你喜欢
    • 2017-11-30
    • 2018-02-27
    • 2019-03-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-12-31
    相关资源
    最近更新 更多