* bug reporting
@ 2014-09-26 13:41 Ajay
2014-09-26 23:51 ` brian m. carlson
0 siblings, 1 reply; 2+ messages in thread
From: Ajay @ 2014-09-26 13:41 UTC (permalink / raw)
To: git
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
I tried everything to resolve this error, I have run some commands on
server side like :
# git fsck
# git-fsck --full
# git fsck --lost-found
# git repack
# git gc
But nothing worked for me and the error is still same. I tried
to find the corrupt file but I was unable to find.
Please check this issue and provide me proper solution for this.
Thanks & Regards,
Ajay Dadgas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bug reporting
2014-09-26 13:41 bug reporting Ajay
@ 2014-09-26 23:51 ` brian m. carlson
0 siblings, 0 replies; 2+ messages in thread
From: brian m. carlson @ 2014-09-26 23:51 UTC (permalink / raw)
To: Ajay; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 1366 bytes --]
On Fri, Sep 26, 2014 at 07:11:35PM +0530, Ajay wrote:
> 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
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-26 23:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-26 13:41 bug reporting Ajay
2014-09-26 23:51 ` brian m. carlson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).