We are facing this issue with Bitbucket SAAS where randomly seeing this error
Failure when receiving data from the peer -
We are trying it from VM and OS - Window
Hi Vikas and welcome to the community!
1. Can you please let me know if you're using Bitbucket Cloud or Bitbucket Server/Data Center?
You mention Bitbucket SAAS and your question has the tag 'bitbucket-cloud'. However, there is no Bitbucket Cloud account with the email of your community account.
If you are unsure, Bitbucket Cloud can be accessed from browser at https://bitbucket.org/, while Bitbucket Server/Data Center has a different custom URL.
2. What command or action are you executing when you see this error?
Kind regards,
Theodora
Hey Theodora, Thanks for Ack here.
- We are using `Bitbucket Cloud` for this but account is different ( Official details can't share here)
- We are trying to access bitbucket public repo from VM Windows OS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikas,
Thank you for the details.
1. You mentioned that you randomly see this error. Does this mean that the git fetch command sometimes succeeds and sometimes fails on the same virtual machine?
2. What version of Git are you using on this VM? I've similar errors (although not exactly the same) with an older version of Git for Windows (version 2.39 specifically).
3. Is the error reproducible if you perform the same operation on a different machine on a different network?
The logs show that the error comes just 1 second after the git fetch command gets executed, so it's possible that something on the VM may be blocking the connection (e.g. firewall, antivirus) or it could be a network-related issue.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Theodora,
Thanks for response, Please find below details as requested:
Currently we are using VM GCP, may be we can try same with AWS VM and verify it once.
Regards
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikas,
Thank you for the info.
I found that there is a bug that occurs when cloning Bitbucket Cloud repos with Git 2.44.0.windows. We have an open bug report here:
Could you please try one of the workarounds mentioned in this bug report?
You could either change the http.sslBackend in your Git config with a command as follows:
git config --global http.sslBackend openssl
Or, in case this doesn't work, you can uninstall Git 2.44.0.windows and then install the earlier version, 2.43.0.
Kind regards,
Theodora
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.