heyitsalec
heyitsalec

Reputation: 300

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

When trying to push to my new BitBucket repository, I keep getting this error:

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

I get the same error in SourceTree as well. I tried messing with the config file to increase buffer size as shown below:

git config --global http.postBuffer 524288000

I would like to just push from the command prompt. I should also note that some folders were able to push to repository but others were not.

Wondering what to do. I noticed there is another post about this issue here, but I wanted to state my case where I have tried all of these and to no avail.

Upvotes: 3

Views: 3909

Answers (2)

JDandChips
JDandChips

Reputation: 10100

I was doing a git-tf migration when I got this issue, and being primarily a TFS user I didn't really know where to start with this one.

The quick fix that allowed me to perform the sync/check-in was to temporarily turn off "This is a private repository" from within the BitBucket project settings.

Upvotes: 0

VonC
VonC

Reputation: 1324606

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

You still could push through ssh though: git for windows has openssh included in its distro. Maybe your server does not have the right to use ssh for outbound transaction? I know I cannot use ssh on any server in my company.

Check if the issue persists, as there was a recent incident report for Atlassian Bitbucket affecting Git via HTTPS.
That "bad record mac" ssl error is about "Message Authentication Code", and suggests an upgrade of ssl library on the server side (as part of the incident resolution).
Make sure to use the latest git for Widows 2.8.3.

Upvotes: 1

Related Questions