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

Re: bug while cloning http repo

From
Taylor Blau <me@ttaylorr.com>
Date
Nov 8, 2022, 00:26 UTC
Message-ID
<Y2miO01QqsL/mvIm@nand.local>
In-Reply-To
<CAOvKmB_qjAm66fAuDBmgGQG7J=+=VW6Fayxfp1zPs5qJfdd=-Q@mail.gmail.com>
On Mon, Nov 07, 2022 at 07:58:03PM +0300, andrey a wrote:
Show 19 quoted lines
> Thank you for filling out a Git bug report!
> Please answer the following questions to help us understand your issue.
>
> What did you do before the bug happened? (Steps to reproduce your issue)
>
> git clone http://git.altlinux.org/gears/r/rust.git
>
>
> What did you expect to happen? (Expected behavior)
>
> Normal cloned repo appears.
>
> What happened instead? (Actual behavior)
>
> git clone http://git.altlinux.org/gears/r/rust.git
> Cloning into 'rust'...
> error: Unable to get pack file
> http://git.altlinux.org/gears/r/rust.git/objects/pack/pack-42e36950f8cd6e0d242719691491d16dd2e270e6.pack
> transfer closed with 7043414950 bytes remaining to read

It looks like something (e.g., firewall, anti-virus software) between your workstation and git.altlinux.org is terminating the connection earlier than it should be.

So your client is only getting part of the pack that it asked for, and some of the objects appear missing.

> Looks like versions before 2.33.4 works fine. And after 2.33.5 (and
> 2.34.1 2.35.1) reproduce bug.

If there is a bisection which conclusively points to a single commit, that would be interesting to know. That might not necessarily indicate a bug in Git, but instead a behavior change which tickles whatever mechanism is sitting on either side of the connection.

Thanks, Taylor

Previous: andrey a
Message 2 of 2 in “bug while cloning http repo”
  1. andrey aNov 7, 2022
  2. Taylor BlauNov 8, 2022

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.