-
Notifications
You must be signed in to change notification settings - Fork 763
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
Early EOF errors when running git fetch over ssh #2012
Comments
@cwgreene I still see the issue regularly when cloning any repository of sufficient size, so that might help get a reliable repro. Some examples are |
At work I have the built-in OpenSSH client configured for Git and this issue happens constantly, to the extent that sometimes I have to pull a repo 3-6 times for it to work. |
@octolith you're saying that you have the builtin OpenSSH client and you're seeing this issue? By built-in, do you mean winssh or the one bundled with git itself? I belive that the version bundled with git itself is using a version of openssh which is built using msys. Can you use process explorer to determine which version of ssh git is spawning? The above issue and it's proposed cause only applies to the version of ssh that is built against the non msys compatibility layer which. If you're seeing this against the msys ssh version, something else is happening. My pardon for the delays, I haven't had time to get a self-contained repro yet, but heck, I'll open a pull request and see if the maintainers will accept it as is. |
closing - fix available in https://github.com/PowerShell/Win32-OpenSSH/releases/tag/v9.2.2.0p1-Beta |
This probably doesn't only cause problems for git, but also when piping tar content over from linux to a windows client, if my memory serves me correctly! I think the Windows SSH client clauses the connection too early and causes a "truncated tar" file. |
Hi, is a new version of OpenSSH planned for inclusion in Windows 10 updates at some point? |
Same for Windows 11. A fix would be nice - seeing this all the time. |
Still see this error randomly on Win11 23H2(10.0.22631.3880) with OpenSSH 9.5.0.0(through Microsoft.OpenSSh.Beta from winget).
My ssh info:
And version for each
|
It's actually fixed, just need to make sure our git is using the newer version SSH.exe.
Coming back from #1322 (comment) |
Does anybody know why Microsoft still hasn't included this fix in one of the bajillion Windows updates since this? |
@Uxorious
And 9.4p1 even not the latest, is greater than 9.2.2.0p1, which contains the fix.
So I think, if someone is not using an old Windows copy like me (upgraded per year from win10 21H2 to now win11 23H2), or they didn't install the "OpenSSH Client" feature in the first place. And now if they newly enable "OpenSSH Client" feature, they would get the nearly latest 9.4p1 and you-dont-want-in-system32 8.6p1 as well. |
Prerequisites
Steps to reproduce
If
git
is configured to use the code in this repo, then the following error will sometimes occur for largish repos:Full description, and discussion is in this issue here (closed for unknown reasons).
#1322
I have given an explanation there as to why this bug is happening.
#1322 (comment)
Exact reproduction steps are currently being developed. Since it is a race condition, trying to force this to occur is tricky, but I am able to reliable reproduce it with a private repository. Obviously, that won't help external verifcation :), so I am still developing a easily reproducible scenario given that I understand what is causing it.
Expected behavior
git clone works
Actual behavior
The text was updated successfully, but these errors were encountered: