Just installed Git on Windows 11 laptop. Created a repository called Git_Learn with some default files.
Using git clone https://{user}@bitbucket.org/{AccountName}/git_learn.git
Authentication is AOK but I receive a couple of different errors if I repeat the command.
fatal: unable to access 'https://bitbucket.org/{accountName}/git_learn.git/': Failure when receiving data from the peer
And
error: RPC failed; curl 56 Failure when receiving data from the peer
fetch-pack: unexpected disconnect while reading sideband packet
fatal: protocol error: bad pack header
I've turned off anti-virus and added https://bitbucket.org/ to trusted sites just in case.
My internet connection seems fine, I have another laptop (work) and it all works fine on that. Which is unusual as it's far more restrictive.
G'day, @Noel Harland
Welcome to the community.
The error typically happens when the default postbuffer is smaller than the data you try to push. So, could you try to increase your git post buffer and see if that helps?
git config --global http.postBuffer 157286400
Regards,
Syahrul
Thanks, I tried that but it didn't make any difference, I'm not doing a push, I'm doing a clone of a very small archive 3,359 bytes.
I have another laptop that works fine, it's a work laptop on a vpn and connects with SSO and much larger repositories.
The clone works sporadically. Mostly fails but occasionally works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Noel Harland
Thanks for the update. We may need more logging to determine the issue, but if it's intermittent, I suggest changing the connection from HTTPS to SSH to see if it's reproducible.
This will help us see whether it's a local network issue.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.