【问题标题】:Git push failing HTTP 500 curl 22 The requested URL returned error: 500 Internal Server ErrorGit推送失败HTTP 500 curl 22请求的URL返回错误:500内部服务器错误
【发布时间】:2017-11-30 12:05:35
【问题描述】:

我刚刚为我的 Windows 机器设置了带有位桶的 git。

Git pull 正常工作,而 git push 失败并出现以下错误。

$ git push
Counting objects: 10, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 174.03 KiB | 0 bytes/s, done.
Total 10 (delta 6), reused 0 (delta 0)
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

任何帮助都会很有用。

谢谢

【问题讨论】:

  • 看看它可能会有所帮助。 confluence.atlassian.com/bitbucketserverkb/…
  • 它也没有用
  • HTTP 500 是服务器端错误。您使用的是 Bitbucket Cloud(托管在 bitbucket.org)还是 Bitbucket Server(自托管)?
  • 这是位桶云。此外,它正在与其他队友合作。我也有交叉验证的用户名。我怀疑配置文件出了点​​问题

标签: windows git bitbucket git-push


【解决方案1】:

我很欣赏这是一个老问题,但之前的建议对我不起作用(我从 git fetch 得到了同样的错误)。对我有用的是:

git gc
git fsck

【讨论】:

    【解决方案2】:

    这发生在我身上,因为我遇到了 no space left on device 错误...我的服务器硬盘驱动器已满,无法写入任何文件!

    【讨论】:

    • 我不得不向我的服务器提供商购买 HDD 空间 XD 但是如果您可以访问正常工作的 cli,您可以删除我认为的 linux 缓存和临时文件
    【解决方案3】:

    将 Git 缓冲区大小增加到存储库的最大单个文件大小:

    git config --global http.postBuffer 157286400
    

    【讨论】:

    • 我遇到了 SourceTree 的 OP 问题,这个答案已经为我解决了。
    • 我尝试在 Windows 凭据存储中更改 git 密码,但没有成功,问题实际上是增加了缓冲区大小。非常感谢!
    • 非常好的答案!非常感谢
    猜你喜欢
    • 2020-10-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-11-25
    • 2022-07-19
    • 2012-10-11
    • 2012-09-03
    • 2015-11-08
    相关资源
    最近更新 更多