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

标签 git http ssh repository bitbucket

当尝试推送到我的新 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

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

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

最佳答案

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

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

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

关于git - BitBucket 无法推送, "fatal: The remote end hung up unexpectedly",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37427688/

相关文章:

git push 覆盖远程仓库的修改

git - ssh : Could not resolve hostname git: Name or service not known fatal: Could not read from remote repository

git - 检查本地和远程分支差异的有效方法

C# CR 后必须跟 LF

http - WSO2 APIM 系统无法从/devtest/1.0/users/admin中推断传输信息

spring - Angular 4 http 获取多个参数到 Spring 请求映射

ssh - 使用其他命令代替 ssh for ansible

python - 为什么我在 SSH 服务器上安装 SpaCy en_core_web_sm 时遇到 PermissionError

git clone "fatal: I don' t handle protocol 'ssh' "

git - 为什么 Git 使用类似 "origin foo"、 "remotes/origin/foo"和 "origin/foo"等易混淆的名称?