【发布时间】:2015-08-16 08:28:04
【问题描述】:
您好,我在推送时遇到了 GitHub 问题。它在两天前左右开始发生,我无法弄清楚。
当从终端推送时,我得到:
Counting objects: 358, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (322/322), done.
error: RPC failed; result=56, HTTP code = 200 15.52 MiB/s
fatal: The remote end hung up unexpectedly
Writing objects: 100% (358/358), 157.16 MiB | 16.00 KiB/s, done.
Total 358 (delta 230), reused 3 (delta 3)
fatal: The remote end hung up unexpectedly
Everything up-to-date
在抛出致命错误之前,它会挂起三分钟。它说一切都是最新的,但显然这些更改没有保存到 github。我已经将同一个存储库推送到 bitbucket 没有任何问题。我怀疑这是某种超时。
这就是我的 .git/config 的样子。
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = false
precomposeunicode = true
[branch "master"]
[remote "origin"]
url = https://github.com/****/****.git
fetch = +refs/heads/*:refs/remotes/origin/*
[remote "bitbucket"]
url = https://***@bitbucket.org/****/***.git
fetch = +refs/heads/*:refs/remotes/bitbucket/*
我也尝试与 github 应用同步,但它需要很长时间才能引发“网络错误。请检查您的 Internet 连接并重试。”
提前致谢。
【问题讨论】:
-
stackoverflow.com/a/22005335/6309 或它的任何 cmets 会有所帮助吗?或stackoverflow.com/a/29557970/6309
-
我已经尝试了建议的配置设置(因为我在几个 SO 中看到过)但没有任何运气。
-
您是否尝试过 cmets(例如“禁用 Kaspersky AV NDIS 6 过滤器”或防病毒软件中的等效项)?或者stackoverflow.com/a/29557970/6309中的其他建议?
-
据我所知,我的 Mac 上没有任何防火墙。奇怪的是 bitbucket 和 heroku 没有问题。
-
还有
do GIT_CURL_VERBOSE=1 git push的线索吗?你用的是什么 git 版本?
标签: git github connection push