-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure when receiving data from the peer #4194
Comments
@melnele That's a large step, testing only v2.39.0(2) and v2.38.1. Could you bisect through the snapshots to figure out what causes the regression? My guess is that it's the cURL update, and only v2.39.0(2) has the regression, but not the preceding snapshot (could you also test this snapshot which sadly failed to upload?). |
@dscho you are correct I just instaled Git-2.39.0-64-bit.exe and it's working |
@dscho I tested it and it's working |
@melnele would you have any public URL with which I could try to reproduce the problem? |
@dscho unfortunately the repos I'm working on are private on bitbucket
|
That reproduces here, but only with the Secure Channel backend. It does work with the OpenSSL backend. That suggests that this is a Secure Channel-specific regression in cURL. I won't be able to investigate or drive this any further in the next few weeks, so @melnele please use this as a workaround if you want to upgrade: |
This indeed works thank you for your help. |
fatal: unable to connect to github.com: |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I just tried the same command with a custom build of |
It was a bit harder to bisect this than expected because somewhere in the middle the regression became a flake, and only later did it get fixed. After testing a while I am pretty confident that the regression is fixed by curl/curl@54120ef. I'll test with this a bit more, and pending that testing I will open a PR and get fixed Pacman packages deployed. |
A regression introduced into cURL v7.87.0 causes clones from Bitbucket repositories that use the Secure Channel backend to fail in this fashion: $ git -c http.sslbackend=schannel clone https://[email protected]/jurko/testinggit.git Cloning into 'testinggit'... remote: Enumerating objects: 3, done. remote: Counting objects: 100% (3/3), done. remote: Compressing objects: 100% (2/2), done. remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 error: RPC failed; curl 56 Failure when receiving data from the peer Unpacking objects: 100% (3/3), 590 bytes | 98.00 KiB/s, done. The fix for this was already applied in cURL's main-line branch. Let's backport it. This fixes git-for-windows/git#4194 Signed-off-by: Johannes Schindelin <[email protected]>
/add release note bug A regression introduced in Git for Windows v2.39.0(2) that prevented cloning from Bitbucket was fixed. The workflow run was started |
@melnele @jurko-gospodnetic please test the latest snapshot. |
@dscho |
Thank you for confirming the fix! |
Thank you for this fix. I apologize for not filing this earlier myself. I figured it was something local to my machine and/or network, not something more global, as I was the only one in my office having the issue. I was apparently the only one on the December release! I will also confirm that the latest release (2.39.1) fixed this for me. The really frustrating part is that it would work about 1/10 of the time, so it would usually fail, but not always. |
Yep, I also found that very frustrating during my bisecting. |
On 12.1.2023. 21:51, Johannes Schindelin wrote:
@melnele <https://github.com/melnele> @jurko-gospodnetic
<https://github.com/jurko-gospodnetic> please test the latest snapshot
<https://wingit.blob.core.windows.net/files/index.html>.
Only now got to this and yeah, the problem seems to have been
resolved. Thanks!
Best regards,
Jurko Gospodnetić
|
A regression introduced into cURL v7.87.0 causes clones from Bitbucket repositories that use the Secure Channel backend to fail in this fashion: $ git -c http.sslbackend=schannel clone https://[email protected]/jurko/testinggit.git Cloning into 'testinggit'... remote: Enumerating objects: 3, done. remote: Counting objects: 100% (3/3), done. remote: Compressing objects: 100% (2/2), done. remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 error: RPC failed; curl 56 Failure when receiving data from the peer Unpacking objects: 100% (3/3), 590 bytes | 98.00 KiB/s, done. The fix for this was already applied in cURL's main-line branch. Let's backport it. This fixes git-for-windows/git#4194 Signed-off-by: Johannes Schindelin <[email protected]>
Setup
64-bit
Windows 11 64-bit
defaults?
Details
Which terminal/shell are you running Git from?
Bash/CMD
What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
What actually happened instead?
fatal: unable to access 'https://bitbucket.org/*/*.git/': Failure when receiving data from the peer
I then downgraded to git version 2.38.1.windows.1 and it worked
The text was updated successfully, but these errors were encountered: