Re: Problem accessing git.kernel.org with git v2.33 plus gitproxy
- From
Jeff King <peff@peff.net>
- Date
- Aug 30, 2021, 18:16 UTC
- Message-ID
- <YS0gZNRqz72hs/a5@coredump.intra.peff.net>
- In-Reply-To
- <20210830161149.xggfosjthnjxcoxp@box.shutemov.name>
On Mon, Aug 30, 2021 at 07:11:49PM +0300, Kirill A. Shutemov wrote:
Show 18 quoted lines
> I've stepped on a problem after upgrading git to v2.33.0. git fetch-pack > fails with an error: > > fetch-pack: unexpected disconnect while reading sideband packet > > It only happens when I access git.kernel.org over git:// (github over > git:// works fine) and if there's a gitproxy configured. > > For test I used a dummy gitproxy: > > #!/bin/sh -efu > socat - "TCP:$1:$2" > > It is enough to trigger the issue. > > I'm not sure if it's kernel.org problem or git problem. > > Has anybody else stepped on the issue? Any clues?
I can't reproduce the problem here, using core.gitproxy with a script identical to what you showed above. I tried both cloning, and fetching via both git-fetch and git-fetch-pack.
Can you show us a more complete example? What does the command that fails look like? What's the repo state before you run it? At what part of the conversation does it fail (before a pack is sent, during, or after)?
If you can reproduce it at will and it fails on 2.33 but not earlier, then bisecting might be helpful.
-Peff