Git推送大文件时远程端意外挂断 [英] The remote end hung up unexpectedly while Git push with large files

查看:40
本文介绍了Git推送大文件时远程端意外挂断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试推送到我的 bitbucket 存储库时,出现以下错误.(事实上​​它在 GitHub 中也是一样的).

When I try to push to my bitbucket repo, I get the following error. (In fact its the same in GitHub as well).

计数对象:48,完成.
最多使用 2 个线程进行增量压缩.
压缩对象:100% (38/38),完成.
写入对象:100% (48/48),1.95 MiB |38 KiB/s,完成.
总共 48 个(增量 9),重复使用 0 个(增量 0)
致命:远端意外挂断
错误:RPC 失败;结果=56,HTTP 代码 = 0
致命:在模具处理程序中检测到递归
一切都是最新的

Counting objects: 48, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (38/38), done.
Writing objects: 100% (48/48), 1.95 MiB | 38 KiB/s, done.
Total 48 (delta 9), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
error: RPC failed; result=56, HTTP code = 0
fatal: recursion detected in die handler
Everything up-to-date

大多数情况下我会遇到另一个错误

Mostly I get another error like

错误:RPC 失败;结果=56,HTTP 代码 = 0
致命:远端意外挂断

error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly

无论哪种方式 PUSH 都会失败.我猜这仅适用于大文件.对于较小的更改,它工作正常.我已将 http.postBuffer 更新为 2M,但它仍然不起作用.

Either way PUSH fails. This is only for large files I guess. For smaller changes it works fine. I've updated http.postBuffer to 2M and it still doesn't work.

重要我有一个 3G 连接和一个基于 CDMA 的 EVDO 互联网连接.使用3G 连接,PUSH 和其他一切工作正常.但是使用 EVDO 我得到了上述错误.所以我的印象是因为我的 EVDO 或 ISP 的一些连接问题.

Important I've a 3G connection and an CDMA based EVDO Internet connection. With the 3G connection, the PUSH and everything else works FINE. But with the EVDO I get the above errors. So I'm under the impression that its because of some connection problem with my EVDO or ISP.

我该如何解决这个问题?

How can I resolve this?

推荐答案

原来是 BSNL 的 EVDO 连接有问题.不幸的是,BSNL 的技术人员都无法帮助我.所以我放弃了连接.

Turns out it was an issue with BSNL's EVDO connection. Unfortunately none of the technicians in BSNL were able to help me. So i discarded the connection.

回到过去的有线宽带:D.

Back to good old wired broadband :D.

这篇关于Git推送大文件时远程端意外挂断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆