# Problem with the dump HTTP transport

5 messages from 2005-12-21 to 2005-12-21. Participants: Marcel Holtmann, Luben Tuikov, Junio C Hamano.
Thread: https://gitlist.dev/t/2894

## Marcel Holtmann, 2005-12-21 12:02

Subject: Problem with the dump HTTP transport
Message-ID: <1135166574.26233.64.camel@localhost>
URL: https://gitlist.dev/e/1135166574.26233.64.camel%40localhost

```
Hi Junio,

after you released 1.0.0, I tried to pull it over HTTP, but it fails
with the following output:

# cg-update
Fetching head...
Fetching objects...
Getting alternates list for http://www.kernel.org/pub/scm/git/git.git/
Getting pack list for http://www.kernel.org/pub/scm/git/git.git/
error: Unable to find c2f3bf071ee90b01f2d629921bb04c4f798f02fa under http://www.kernel.org/pub/scm/git/git.git/

Cannot obtain needed object c2f3bf071ee90b01f2d629921bb04c4f798f02fa
while processing commit 0000000000000000000000000000000000000000.
cg-fetch: objects fetch failed

Both, git and cogito, are the latest versions from yesterday. So it
seems every time you repack, you need to do something extra to keep the
dump HTTP transport happy.

Regards

Marcel

```

## Luben Tuikov, 2005-12-21 16:26

Subject: Re: Problem with the dump HTTP transport
Message-ID: <20051221162638.32965.qmail@web31802.mail.mud.yahoo.com>
URL: https://gitlist.dev/e/20051221162638.32965.qmail%40web31802.mail.mud.yahoo.com
In-Reply-To: <1135166574.26233.64.camel@localhost>

```
--- Marcel Holtmann <marcel@holtmann.org> wrote:

> Hi Junio,
> 
> after you released 1.0.0, I tried to pull it over HTTP, but it fails
> with the following output:
> 
> # cg-update
> Fetching head...
> Fetching objects...
> Getting alternates list for http://www.kernel.org/pub/scm/git/git.git/
> Getting pack list for http://www.kernel.org/pub/scm/git/git.git/
> error: Unable to find c2f3bf071ee90b01f2d629921bb04c4f798f02fa under
> http://www.kernel.org/pub/scm/git/git.git/
> 
> Cannot obtain needed object c2f3bf071ee90b01f2d629921bb04c4f798f02fa
> while processing commit 0000000000000000000000000000000000000000.
> cg-fetch: objects fetch failed
> 
> Both, git and cogito, are the latest versions from yesterday. So it
> seems every time you repack, you need to do something extra to keep the
> dump HTTP transport happy.

I'm seeing the same thing:

$git pull
Fetching refs/heads/master from http://kernel.org/pub/scm/git/git.git using http
Getting alternates list for http://kernel.org/pub/scm/git/git.git/
Getting pack list for http://kernel.org/pub/scm/git/git.git/
error: Unable to find c2f3bf071ee90b01f2d629921bb04c4f798f02fa under
http://kernel.org/pub/scm/git/git.git/

Cannot obtain needed object c2f3bf071ee90b01f2d629921bb04c4f798f02fa
while processing commit 0000000000000000000000000000000000000000.

   Luben

```

## Junio C Hamano, 2005-12-21 17:59

Subject: Re: Problem with the dump HTTP transport
Message-ID: <7vu0d2baaq.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vu0d2baaq.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <1135166574.26233.64.camel@localhost>

```
Marcel Holtmann <marcel@holtmann.org> writes:

> Cannot obtain needed object c2f3bf071ee90b01f2d629921bb04c4f798f02fa
> while processing commit 0000000000000000000000000000000000000000.
> cg-fetch: objects fetch failed
>
> Both, git and cogito, are the latest versions from yesterday. So it
> seems every time you repack, you need to do something extra to keep the
> dump HTTP transport happy.

The last sentence is correct and I do that (the magic word is
git-update-server-info, and that is done as part of git-repack
automatically), but it does not seem to apply here.  It most
likely is a mirroring delay.  That c2f3... object is the commit
at the tip of the master branch, and the repository is fully
packed right now (except v1.0.0 tag object which is loose).

```

## Marcel Holtmann, 2005-12-21 18:43

Subject: Re: Problem with the dump HTTP transport
Message-ID: <1135190585.14627.9.camel@localhost>
URL: https://gitlist.dev/e/1135190585.14627.9.camel%40localhost
In-Reply-To: <7vu0d2baaq.fsf@assigned-by-dhcp.cox.net>

```
Hi Junio,

> > Cannot obtain needed object c2f3bf071ee90b01f2d629921bb04c4f798f02fa
> > while processing commit 0000000000000000000000000000000000000000.
> > cg-fetch: objects fetch failed
> >
> > Both, git and cogito, are the latest versions from yesterday. So it
> > seems every time you repack, you need to do something extra to keep the
> > dump HTTP transport happy.
> 
> The last sentence is correct and I do that (the magic word is
> git-update-server-info, and that is done as part of git-repack
> automatically), but it does not seem to apply here.  It most
> likely is a mirroring delay.  That c2f3... object is the commit
> at the tip of the master branch, and the repository is fully
> packed right now (except v1.0.0 tag object which is loose).

it is still not working. How long does it take on www.kernel.org to
mirror it from the master.

Regards

Marcel

```

## Junio C Hamano, 2005-12-21 19:14

Subject: Re: Problem with the dump HTTP transport
Message-ID: <7vbqzab6uz.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vbqzab6uz.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <1135190585.14627.9.camel@localhost>

```
Marcel Holtmann <marcel@holtmann.org> writes:

> it is still not working. How long does it take on www.kernel.org to
> mirror it from the master.

Thanks for the help.  I managed to reproduce it, so I can see
where it breaks.

```
