git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: fetch-pack Unexpected disconnect issues in 2.47

From
Taylor Blau <me@ttaylorr.com>
Date
Oct 15, 2024, 19:07 UTC
Message-ID
<Zw69WPUT/9P327nx@nand.local>
In-Reply-To
<AS1PR08MB7514FB0AE229D34BFE66C4EF8A452@AS1PR08MB7514.eurprd08.prod.outlook.com>
On Tue, Oct 15, 2024 at 05:16:16AM +0000, Gibbons, Jason wrote:
Show 18 quoted lines
> Hello
>
> Not sure if this has already been reported, but we have noticed that
> for a large github repository with lfs enabled, we are seeing the
> following errors on fetch:
>
> Connection to github.com closed by remote host.
>
> 03:42:26 fetch-pack: unexpected disconnect while reading sideband packet
> 03:42:26 fatal: early EOF
> 03:42:26 fatal: fetch-pack: invalid index-pack output
>
> When we revert the git client from 2.47 to 2.46 on the fetching host,
> the problem vanishes, and this is systematic both across CI build/test
> infrastructure and development PCs.
>
> For the moment we are just rolling back to 2.46 across our infra, but
> this can be only a short-term solution of course.

If you are using Git for Windows, I believe that there is a known issue [1] which was patched in the MSYS2 runtime used by GfW [2].

It does not appear to be released as part of a tagged version of Git for Windows yet, although from reading [1] it appears to be planned soon. In the meantime, you should be able to work around the issue by using a snapshot of Git for Windows.

Thanks, Taylor

[1]: https://github.com/git-for-windows/git/issues/5199 [2]: https://github.com/git-for-windows/msys2-runtime/pull/75

Previous: Gibbons, Jason
Message 2 of 2 in “fetch-pack Unexpected disconnect issues in 2.47”
  1. Gibbons, JasonOct 15, 2024
  2. Taylor BlauOct 15, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.