gpt4 book ai didi

Gitlab Push Failed错误

转载 作者:IT王子 更新时间:2023-10-29 00:47:40 26 4
gpt4 key购买 nike

当我尝试将任何内容推送到我自己的 gitlab 服务器时,我不断收到此错误:

Push failed
Failed with error:
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: RPC failed;
curl 56 Recv failure: Connection was reset

我不知道为什么我总是收到这个错误。我一直在努力 push ,然后它无处不在地成功 push 了它。但是在那之后我试图 push 的一切都给了我同样的错误。

这是更详细的日志:

16:21:39.932: [gallery] git -c core.quotepath=false push --progress --porcelain origin refs/heads/master:master
Counting objects: 12, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (12/12), 1.88 MiB | 25.00 KiB/s, done.
Total 12 (delta 3), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Done
error: RPC failed; curl 56 Recv failure: Connection was reset

最佳答案

请尝试以下方法之一:

方法一:

git config --global http.postBuffer 157286400

方法二:
增加 Gitlab 服务器中 Nginx 配置的“client_max_body_size”。

查看此链接以获取更多信息: https://confluence.atlassian.com/stashkb/git-push-fails-client-intended-to-send-too-large-chunked-body-590251250.html

希望它们有用!祝你好运!!!

关于Gitlab Push Failed错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36940425/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com