login
Header Space

 
 

Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Martin Langhoff <martin.langhoff@...>, Nick Hengeveld <nickh@...>, Git Mailing List <git@...>
Date: Tuesday, November 8, 2005 - 7:19 am

I got similar today; www.hawaga.org.uk is some apache server on  
linux, and piva.hawaga.org.uk, the client Mac OS X.

Feel free to hit the URL yourselves -- its a public webserver.


According to system profiler on piva:

   System Version:    Mac OS X 10.4.2 (8D37)
   Kernel Version:    Darwin 8.2.1

and

!582 [1] benc@piva:~/tmp$ curl --version
curl 7.13.1 (powerpc-apple-darwin8.0) libcurl/7.13.1 OpenSSL/0.9.7g  
zlib/1.2.3
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: IPv6 Largefile NTLM SSL libz
!583 [1] benc@piva:~/tmp$

This is on an unpacked repository, so I would guess that none of the  
GETs for objects should be failing...

Note that it *doesn't* always error out on the same object:

!549 [0] benc@piva:~/tmp$ cg clone http://www.hawaga.org.uk/ 
gitcompletion.gitdefaulting to local storage area
20:56:33 URL:http://www.hawaga.org.uk/gitcompletion.git/HEAD [41/41] - 
 > "refs/heads/.origin-fetching" [1]
progress: 11 objects, 2875 bytes
error:  (curl_result = 3181280, http_code = 200, sha1 =  
c99aa418704f576aad8249d042cd6afecf38afc4)
Getting pack list
error:
Getting alternates list
error: Unable to find c99aa418704f576aad8249d042cd6afecf38afc4 under  
http://www.hawaga.org.uk/gitcompletion.git/

Cannot obtain needed blob c99aa418704f576aad8249d042cd6afecf38afc4
while processing commit 912eb2baf57b70178c2e1f10df12eae911e1d748.
cg-fetch: objects fetch failed
cg-clone: fetch failed
!550 [0] benc@piva:~/tmp$



!556 [0] benc@piva:~/tmp$ cg clone http://www.hawaga.org.uk/ 
gitcompletion.git
defaulting to local storage area
20:58:48 URL:http://www.hawaga.org.uk/gitcompletion.git/HEAD [41/41] - 
 > "refs/heads/.origin-fetching" [1]
progress: 12 objects, 4581 bytes
error:  (curl_result = 3179088, http_code = 200, sha1 =  
682cfbd4d75e204fada2cabe9e0f040e522ce61d)
Getting pack list
Getting alternates list
error: Unable to find 682cfbd4d75e204fada2cabe9e0f040e522ce61d under  
http://www.hawaga.org.uk/gitcompletion.git/

Cannot obtain needed commit 682cfbd4d75e204fada2cabe9e0f040e522ce61d
while processing commit 912eb2baf57b70178c2e1f10df12eae911e1d748.
Waiting for http://www.hawaga.org.uk/gitcompletion.git/objects/cb/ 
c8285a736142b83894ec412fe413d9ee7363ab
cg-fetch: objects fetch failed
cg-clone: fetch failed
!557 [0] benc@piva:~/tmp$

When I run it lots of times in succession, it gets between 10 and 15  
objects in before failing on something.

When I try with plain git:

!580 [1] benc@piva:~/tmp$ git clone http://www.hawaga.org.uk/ 
gitcompletion.git here
defaulting to local storage area
got a108bdc110dad770ec5c092759a8bc511790d21f
walk a108bdc110dad770ec5c092759a8bc511790d21f
got 912eb2baf57b70178c2e1f10df12eae911e1d748
got 261466f44dce8fb3cac4e0d0f1bf5a46fa84e07e
walk 912eb2baf57b70178c2e1f10df12eae911e1d748
got f766b276eff3ec52ac3c0425b13c936d87c607ee
got e05988e4a193f9eac2862ce6e67b19e3785bd8f1
got c99aa418704f576aad8249d042cd6afecf38afc4
got d743b178b82e9a8f10a1bf267d32d070e36c8046
got 96a0d6b6b182d978c04290f7c87049a5d3cc41b7
got 676bd846066cf3794796cadb258a23a76744819c
got 2e04450bdc81b1380a8f75223d8ce8019400dd70
error:  (curl_result = 3179232, http_code = 200, sha1 =  
682cfbd4d75e204fada2cabe9e0f040e522ce61d)
Getting pack list
error:
Getting alternates list
error: Unable to find 682cfbd4d75e204fada2cabe9e0f040e522ce61d under  
http://www.hawaga.org.uk/gitcompletion.git/

Cannot obtain needed commit 682cfbd4d75e204fada2cabe9e0f040e522ce61d
while processing commit 912eb2baf57b70178c2e1f10df12eae911e1d748.
!581 [1] benc@piva:~/tmp$


but a curl by hand for one of the object URLs works:

!581 [1] benc@piva:~/tmp$ curl http://www.hawaga.org.uk/ 
gitcompletion.git/objects/68/2cfbd4d75e204fada2cabe9e0f040e522ce61d  
 > /dev/null
   % Total    % Received % Xferd  Average Speed   Time    Time      
Time  Current
                                  Dload  Upload   Total   Spent     
Left  Speed
100   250  100   250    0     0    183      0  0:00:01  0:00:01  
--:--:--     0
!582 [1] benc@piva:~/tmp$


and works each time when I run it repeatedly.






On 7 Nov 2005, at 08:54, Martin Langhoff wrote:



-- 
Ben ベン Бэн
http://www.hawaga.org.uk/ben/



-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Errors cloning over http -- git-clone and cg-clone fail ..., Ben Clifford, (Tue Nov 8, 7:19 am)
Re: Errors cloning over http -- git-clone and cg-clone fail ..., Johannes Schindelin, (Tue Nov 8, 7:54 am)
speck-geostationary