Skip to content

Early EOF errors when running git fetch over ssh #2012

Closed
@cwgreene

Description

@cwgreene

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

If git is configured to use the code in this repo, then the following error will sometimes occur for largish repos:

fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

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

fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


### Error details

```console
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


### Environment data

```PowerShell
Name                           Value
----                           -----
PSVersion                      5.1.19041.1682
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.1682
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1


### Version

8.9.10

### Visuals

_No response_

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions