BitBucket 无法推送,"fatal: The remote end hung up unexpectedly"

BitBucket cannot push, "fatal: The remote end hung up unexpectedly"

尝试推送到我的新 BitBucket 存储库时,我不断收到此错误:

Counting objects: 28, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (28/28), done.
Writing objects: 100% (28/28), 10.82 MiB | 7.29 MiB/s, done.
Total 28 (delta 1), reused 0 (delta 0)
error: RPC failed; curl 56 SSL read: error:140943FC:SSL
routines:ssl3_read_bytes:sslv3 alert bad record mac, errno 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

我在 SourceTree 中也遇到同样的错误。我尝试修改配置文件以增加缓冲区大小,如下所示:

git config --global http.postBuffer 524288000

我只想从命令提示符下推送。我还应该注意,有些文件夹能够推送到存储库,但其他文件夹不能。

想知道要做什么。我注意到还有另一个 post 关于这个问题 here,但我想说明我的情况,我已经尝试了所有这些但都无济于事。

I don't want to use SSH as I am on Windows 10 without a server to use SSH from

您仍然可以 push through ssh though: git for windows 在其发行版中包含 openssh。也许你的服务器没有权限使用 ssh 进行出站交易?我知道我不能在我公司的任何服务器上使用 ssh。

检查问题是否仍然存在,因为有一个 recent incident report for Atlassian Bitbucket 通过 HTTPS 影响 Git。
"bad record mac" ssl 错误是关于“Message Authentication Code", and suggests an upgrade of ssl library on the server side(作为事件解决的一部分)。
确保使用最新的 git for Widows 2.8.3。

当我遇到这个问题时,我正在做 git-tf 迁移,作为主要的 TFS 用户,我真的不知道从哪里开始。

允许我执行 sync/check-in 的快速修复是暂时关闭 BitBucket 项目设置中的“这是一个私有存储库”。