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

Re: bug reporting

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Sep 26, 2014, 23:51 UTC
Message-ID
<20140926235158.GC6553@vauxhall.crustytoothpaste.net>
In-Reply-To
<54256D0F.4000003@galaxyweblinks.in>
On Fri, Sep 26, 2014 at 07:11:35PM +0530, Ajay wrote:
Show 19 quoted lines
> Hello,
> 
>          I have faced a git bug. When I try to clone a git repo it shows an
> error "protocol error: bad pack header".
> 
>          This is the full error message which I got while cloning git
> project :
> 
> Clone: protocol error: bad pack header
>     $ git clone -v --progress
> http://dev.galaxylipl.com:88/galaxygit/privatenovator.git
> /home/lipl/privateschoolinnovator
>     Cloning into '/home/lipl/privatenovator'...
>     POST git-upload-pack (190 bytes)
>     remote: error: Could not read e9a6c4c684a5e8758026e8b0e25867c03332fe7c
>     remote: fatal: bad tree object e9a6c4c684a5e8758026e8b0e25867c03332fe7c
>     remote: aborting due to possible repository corruption on the remote
> side.
>     protocol error: bad pack header

This indicates some sort of corruption between the client and server. I notice you're cloning over HTTP. Are you using a proxy? Can you try using a git, ssh, or https (without MITM) URL? Sometimes broken proxies can end up corrupting data.

Also, what version of git are you using on the client and the server?
-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Previous: Ajay
Message 2 of 2 in “bug reporting”
  1. AjaySep 26, 2014
  2. brian m. carlsonSep 26, 2014

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.