{"thread":{"id":"2370","subject":"Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","startedAt":"2005-11-06T21:54:14Z","lastAt":"2005-11-09T11:20:30Z","messageCount":12,"participants":["Martin Langhoff","Nick Hengeveld","Johannes Schindelin","Ben Clifford","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"11220","messageId":"46a038f90511061354k5378a92ckc427841f90ec8b4@mail.gmail.com","threadId":"2370","inReplyTo":null,"subject":"Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2005-11-06T21:54:14Z","receivedAt":"2005-11-06T21:54:14Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"Strange!\n\nI'm getting errors when cloning over http\n\ngit-clone http://locke.catalyst.net.nz/git/moodle.git mdlfoo\n(...)\nerror:  (curl_result = 3601440, http_code = 200, sha1 =\nf04241b142edfbf28fff2babb426cbab5b44e26b)\nGetting pack list\nerror:\nGetting alternates list\nerror: Unable to find f04241b142edfbf28fff2babb426cbab5b44e26b under\nhttp://locke.catalyst.net.nz/git/moodle.git/\n\nCannot obtain needed commit f04241b142edfbf28fff2babb426cbab5b44e26b\nwhile processing commit 0965f28d4d75f324b86c8f7490830fea471c65c5.\n\nThis commit object is easily reachable at\nhttp://mirrors.catalyst.net.nz/git/moodle.git/objects/f0/4241b142edfbf28fff2babb426cbab5b44e26b\n\nIf I use cg-clone, I get a similar error\n\ncg-clone http://locke.catalyst.net.nz/git/moodle.git#mdl-artena-tairawhiti\nmdlfooo\n(...)\nCannot obtain needed object 214e6374d49e6d014f0ba6f159d585a3fe468909\nwhile processing commit 0000000000000000000000000000000000000000.\ncg-fetch: objects fetch failed\ncg-clone: fetch failed\n\nThis commit object seems to be in a pack:\nhttp://mirrors.catalyst.net.nz/git/moodle.git/objects/pack/pack-094560c0177ad659a6e172739c4be53da749e5f0.pack\n\ngit-cat-file on the server works correctly, and cloning/working over\ngit+ssh works too.\n\ncheers,\n\n\nmartin\n"},{"id":"11241","messageId":"46a038f90511061852h5cdf9539o34f69b4deb9f041a@mail.gmail.com","threadId":"2370","inReplyTo":"46a038f90511061354k5378a92ckc427841f90ec8b4@mail.gmail.com","subject":"Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2005-11-07T02:52:41Z","receivedAt":"2005-11-07T02:52:41Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"On 11/7/05, Martin Langhoff <martin.langhoff@gmail.com> wrote:\n> Strange!\n>\n> I'm getting errors when cloning over http\n\nMore info on this.\n\ngit-fetch-pack (invoked by cg-fetch) bails out because it thinks it\ngot a 404 fetching one of the packs:\n\nGetting pack 9cbe4a5eb777d4ee535f08feb471e812208ed3a5\n which contains 7004cdf821ab5ddcded7819dea34015b0e84cd9a\nerror: Unable to get pack file\nhttp://locke.catalyst.net.nz/git/moodle.git//objects/pack/pack-9cbe4a5eb777d4ee535f08feb471e812208ed3a5.pack\nThe requested URL returned error: 404\n\nHowever, the url is reachable via http (tested with curl and wget) and\nApache records the transaction as a 200 OK -- there's no 404 there!\n(There are 404s, of course, for objects that are in the pack but not\nfor any pack). Trying to read http-fetch.c and http-pull.c to figure\nout where we could get the return status wrong, but my C is just\nnonexistant. Hints appreciated.\n\ncheers,\n\n\nmartin\n"},{"id":"11244","messageId":"20051107043737.GI3001@reactrix.com","threadId":"2370","inReplyTo":"46a038f90511061852h5cdf9539o34f69b4deb9f041a@mail.gmail.com","subject":"Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","fromName":"Nick Hengeveld","fromEmail":"nickh@reactrix.com","sentAt":"2005-11-07T04:37:38Z","receivedAt":"2005-11-07T04:37:38Z","isPatch":false,"sender":{"key":"nickh@reactrix.com","avatar":null},"body":"On Mon, Nov 07, 2005 at 03:52:41PM +1300, Martin Langhoff wrote:\n\n> > I'm getting errors when cloning over http\n> \n> More info on this.\n> \n> git-fetch-pack (invoked by cg-fetch) bails out because it thinks it\n> got a 404 fetching one of the packs:\n\nDoes it always error out on the same pack file?\n\nWhich build of git are you using, and which version of curl?\n\n-- \nFor a successful technology, reality must take precedence over public\nrelations, for nature cannot be fooled.\n"},{"id":"11245","messageId":"46a038f90511062050geee7e73qddcd52e3a2ec86df@mail.gmail.com","threadId":"2370","inReplyTo":"20051107043737.GI3001@reactrix.com","subject":"Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2005-11-07T04:50:02Z","receivedAt":"2005-11-07T04:50:02Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"On 11/7/05, Nick Hengeveld <nickh@reactrix.com> wrote:\n> On Mon, Nov 07, 2005 at 03:52:41PM +1300, Martin Langhoff wrote:\n>\n> > > I'm getting errors when cloning over http\n> >\n> > More info on this.\n> >\n> > git-fetch-pack (invoked by cg-fetch) bails out because it thinks it\n> > got a 404 fetching one of the packs:\n>\n> Does it always error out on the same pack file?\n\nYes.\n\n> Which build of git are you using, and which version of curl?\n\nA mix of 0.99.9, 0.99.9{b,c,d} and today's. Tested with Johannes'\npatch of today for curl message handling, thinking it was related. No\ndice.\n\nOn the Debian x86 box, it's\n$ curl -V\ncurl 7.13.2 (i386-pc-linux-gnu) libcurl/7.14.0 OpenSSL/0.9.7g\nzlib/1.2.2 libidn/0.5.18\nProtocols: ftp gopher telnet dict ldap http file https ftps\nFeatures: IDN IPv6 Largefile NTLM SSL libz\n\nOn the MacOSX box, it's\n$ curl -V\ncurl 7.10.2 (powerpc-apple-darwin7.0) libcurl/7.10.2 OpenSSL/0.9.7g zlib/1.1.4\n\ncheers,\n\n\n\nmartin\n"},{"id":"11263","messageId":"20051107171446.GA4070@reactrix.com","threadId":"2370","inReplyTo":"46a038f90511062050geee7e73qddcd52e3a2ec86df@mail.gmail.com","subject":"Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","fromName":"Nick Hengeveld","fromEmail":"nickh@reactrix.com","sentAt":"2005-11-07T17:14:47Z","receivedAt":"2005-11-07T17:14:47Z","isPatch":false,"sender":{"key":"nickh@reactrix.com","avatar":null},"body":"On Mon, Nov 07, 2005 at 05:50:02PM +1300, Martin Langhoff wrote:\n\n> > Does it always error out on the same pack file?\n> \n> Yes.\n\nYou might try this to see exactly what request/response headers\ncurl thinks are passing back and forth.\n\n\ndiff --git a/http-fetch.c b/http-fetch.c\nindex ea8af1b..11d4dca 100644\n--- a/http-fetch.c\n+++ b/http-fetch.c\n@@ -325,6 +325,7 @@ static struct active_request_slot *get_a\n \tcurl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, pragma_header);\n \tcurl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, no_range_header);\n \tcurl_easy_setopt(slot->curl, CURLOPT_ERRORBUFFER, curl_errorstr);\n+\tcurl_easy_setopt(slot->curl, CURLOPT_VERBOSE, 1);\n \n \treturn slot;\n }\n\n-- \nFor a successful technology, reality must take precedence over public\nrelations, for nature cannot be fooled.\n"},{"id":"11295","messageId":"46a038f90511071837g474bdc44vf60dd0758511f24c@mail.gmail.com","threadId":"2370","inReplyTo":"20051107171446.GA4070@reactrix.com","subject":"Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2005-11-08T02:37:29Z","receivedAt":"2005-11-08T02:37:29Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"On 11/8/05, Nick Hengeveld <nickh@reactrix.com> wrote:\n\n> You might try this to see exactly what request/response headers\n> curl thinks are passing back and forth.\n\nIt definitely looks like it's doing a few requests in parallel and\ngetting them mixed up. BTW, this repo is public and sitting on a box\nthat doubles up as kernel mirror -- feel free to hit it ;-)\n\n> GET /git/moodle.git/objects/f0/6a06d24eee0b7819e2aaf48ad0e255301394e0 HTTP/1.1\nHost: locke.catalyst.net.nz\nAccept: */*\n\n* Connected to locke.catalyst.net.nz (202.78.240.39) port 80\n* Couldn't find host locke.catalyst.net.nz in the .netrc file, using defaults\n* About to connect() to locke.catalyst.net.nz port 80\n*   Trying 202.78.240.39... > GET\n/git/moodle.git/objects/d9/6d5ee03a225ab4e750fb864dbea35d42c51b8b\nHTTP/1.1\nHost: locke.catalyst.net.nz\nAccept: */*\n\n* Connected to locke.catalyst.net.nz (202.78.240.39) port 80\n* The requested URL returned error: 404\n* Closing connection #0\n* The requested URL returned error: 404\n* Closing connection #0\n> GET /git/moodle.git/objects/5e/0e0d41f781d53344fa67b5e5a0138b586e2946 HTTP/1.1\nHost: locke.catalyst.net.nz\nAccept: */*\n\n* The requested URL returned error: 404\n* Closing connection #0\n* The requested URL returned error: 404\n* Closing connection #0\nerror: Unable to get pack file\nhttp://locke.catalyst.net.nz/git/moodle.git//objects/pack/pack-9cbe4a5eb777d4ee535f08feb471e812208ed3a5.pack\nThe requested URL returned error: 404\nerror: Unable to find 7004cdf821ab5ddcded7819dea34015b0e84cd9a under\nhttp://locke.catalyst.net.nz/git/moodle.git/\n\nCannot obtain needed blob 7004cdf821ab5ddcded7819dea34015b0e84cd9a\nwhile processing commit b065a5cb7f757dd6e271249cb49e19e8c34b26ce.\ncg-fetch: objects fetch failed\ncg-clone: fetch failed\n\ncheers,\n\n\nmartin\n"},{"id":"11305","messageId":"20051108063136.GA3806@reactrix.com","threadId":"2370","inReplyTo":"46a038f90511071837g474bdc44vf60dd0758511f24c@mail.gmail.com","subject":"Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","fromName":"Nick Hengeveld","fromEmail":"nickh@reactrix.com","sentAt":"2005-11-08T06:31:36Z","receivedAt":"2005-11-08T06:31:36Z","isPatch":false,"sender":{"key":"nickh@reactrix.com","avatar":null},"body":"On Tue, Nov 08, 2005 at 03:37:29PM +1300, Martin Langhoff wrote:\n\n> It definitely looks like it's doing a few requests in parallel and\n> getting them mixed up. BTW, this repo is public and sitting on a box\n> that doubles up as kernel mirror -- feel free to hit it ;-)\n\nCan you run git-http-fetch after the failure to attempt to pick up where\nit left off?  It should fail right away, and hopefully contain less\nconfusing output from parallel requests.\n\nWas there a request header for pack-9cbe...d3a5.pack earlier in the\noutput, and were there response headers for successful or failed\nrequests?\n\nFWIW, I've tried cloning that repository a few times and haven't seen\nthe problem yet.\n\n-- \nFor a successful technology, reality must take precedence over public\nrelations, for nature cannot be fooled.\n"},{"id":"11363","messageId":"1537CD60-21E4-4F5E-820F-216A4E8C06AC@hawaga.org.uk","threadId":"2370","inReplyTo":"46a038f90511061354k5378a92ckc427841f90ec8b4@mail.gmail.com","subject":"Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","fromName":"Ben Clifford","fromEmail":"benc@hawaga.org.uk","sentAt":"2005-11-08T11:19:53Z","receivedAt":"2005-11-08T11:19:53Z","isPatch":false,"sender":{"key":"benc@hawaga.org.uk","avatar":"https://gravatar.com/avatar/c7ce083471287f8e77b69dd147f757799d1efdd740727fd7e3003f33e88be898?d=mp&s=160"},"body":"I got similar today; www.hawaga.org.uk is some apache server on  \nlinux, and piva.hawaga.org.uk, the client Mac OS X.\n\nFeel free to hit the URL yourselves -- its a public webserver.\n\n\nAccording to system profiler on piva:\n\n   System Version:    Mac OS X 10.4.2 (8D37)\n   Kernel Version:    Darwin 8.2.1\n\nand\n\n!582 [1] benc@piva:~/tmp$ curl --version\ncurl 7.13.1 (powerpc-apple-darwin8.0) libcurl/7.13.1 OpenSSL/0.9.7g  \nzlib/1.2.3\nProtocols: ftp gopher telnet dict ldap http file https ftps\nFeatures: IPv6 Largefile NTLM SSL libz\n!583 [1] benc@piva:~/tmp$\n\nThis is on an unpacked repository, so I would guess that none of the  \nGETs for objects should be failing...\n\nNote that it *doesn't* always error out on the same object:\n\n!549 [0] benc@piva:~/tmp$ cg clone http://www.hawaga.org.uk/ \ngitcompletion.gitdefaulting to local storage area\n20:56:33 URL:http://www.hawaga.org.uk/gitcompletion.git/HEAD [41/41] - \n > \"refs/heads/.origin-fetching\" [1]\nprogress: 11 objects, 2875 bytes\nerror:  (curl_result = 3181280, http_code = 200, sha1 =  \nc99aa418704f576aad8249d042cd6afecf38afc4)\nGetting pack list\nerror:\nGetting alternates list\nerror: Unable to find c99aa418704f576aad8249d042cd6afecf38afc4 under  \nhttp://www.hawaga.org.uk/gitcompletion.git/\n\nCannot obtain needed blob c99aa418704f576aad8249d042cd6afecf38afc4\nwhile processing commit 912eb2baf57b70178c2e1f10df12eae911e1d748.\ncg-fetch: objects fetch failed\ncg-clone: fetch failed\n!550 [0] benc@piva:~/tmp$\n\n\n\n!556 [0] benc@piva:~/tmp$ cg clone http://www.hawaga.org.uk/ \ngitcompletion.git\ndefaulting to local storage area\n20:58:48 URL:http://www.hawaga.org.uk/gitcompletion.git/HEAD [41/41] - \n > \"refs/heads/.origin-fetching\" [1]\nprogress: 12 objects, 4581 bytes\nerror:  (curl_result = 3179088, http_code = 200, sha1 =  \n682cfbd4d75e204fada2cabe9e0f040e522ce61d)\nGetting pack list\nGetting alternates list\nerror: Unable to find 682cfbd4d75e204fada2cabe9e0f040e522ce61d under  \nhttp://www.hawaga.org.uk/gitcompletion.git/\n\nCannot obtain needed commit 682cfbd4d75e204fada2cabe9e0f040e522ce61d\nwhile processing commit 912eb2baf57b70178c2e1f10df12eae911e1d748.\nWaiting for http://www.hawaga.org.uk/gitcompletion.git/objects/cb/ \nc8285a736142b83894ec412fe413d9ee7363ab\ncg-fetch: objects fetch failed\ncg-clone: fetch failed\n!557 [0] benc@piva:~/tmp$\n\nWhen I run it lots of times in succession, it gets between 10 and 15  \nobjects in before failing on something.\n\nWhen I try with plain git:\n\n!580 [1] benc@piva:~/tmp$ git clone http://www.hawaga.org.uk/ \ngitcompletion.git here\ndefaulting to local storage area\ngot a108bdc110dad770ec5c092759a8bc511790d21f\nwalk a108bdc110dad770ec5c092759a8bc511790d21f\ngot 912eb2baf57b70178c2e1f10df12eae911e1d748\ngot 261466f44dce8fb3cac4e0d0f1bf5a46fa84e07e\nwalk 912eb2baf57b70178c2e1f10df12eae911e1d748\ngot f766b276eff3ec52ac3c0425b13c936d87c607ee\ngot e05988e4a193f9eac2862ce6e67b19e3785bd8f1\ngot c99aa418704f576aad8249d042cd6afecf38afc4\ngot d743b178b82e9a8f10a1bf267d32d070e36c8046\ngot 96a0d6b6b182d978c04290f7c87049a5d3cc41b7\ngot 676bd846066cf3794796cadb258a23a76744819c\ngot 2e04450bdc81b1380a8f75223d8ce8019400dd70\nerror:  (curl_result = 3179232, http_code = 200, sha1 =  \n682cfbd4d75e204fada2cabe9e0f040e522ce61d)\nGetting pack list\nerror:\nGetting alternates list\nerror: Unable to find 682cfbd4d75e204fada2cabe9e0f040e522ce61d under  \nhttp://www.hawaga.org.uk/gitcompletion.git/\n\nCannot obtain needed commit 682cfbd4d75e204fada2cabe9e0f040e522ce61d\nwhile processing commit 912eb2baf57b70178c2e1f10df12eae911e1d748.\n!581 [1] benc@piva:~/tmp$\n\n\nbut a curl by hand for one of the object URLs works:\n\n!581 [1] benc@piva:~/tmp$ curl http://www.hawaga.org.uk/ \ngitcompletion.git/objects/68/2cfbd4d75e204fada2cabe9e0f040e522ce61d  \n > /dev/null\n   % Total    % Received % Xferd  Average Speed   Time    Time      \nTime  Current\n                                  Dload  Upload   Total   Spent     \nLeft  Speed\n100   250  100   250    0     0    183      0  0:00:01  0:00:01  \n--:--:--     0\n!582 [1] benc@piva:~/tmp$\n\n\nand works each time when I run it repeatedly.\n\n\n\n\n\n\nOn 7 Nov 2005, at 08:54, Martin Langhoff wrote:\n\n\n> Strange!\n>\n> I'm getting errors when cloning over http\n>\n> git-clone http://locke.catalyst.net.nz/git/moodle.git mdlfoo\n> (...)\n> error:  (curl_result = 3601440, http_code = 200, sha1 =\n> f04241b142edfbf28fff2babb426cbab5b44e26b)\n> Getting pack list\n> error:\n> Getting alternates list\n> error: Unable to find f04241b142edfbf28fff2babb426cbab5b44e26b under\n> http://locke.catalyst.net.nz/git/moodle.git/\n>\n> Cannot obtain needed commit f04241b142edfbf28fff2babb426cbab5b44e26b\n> while processing commit 0965f28d4d75f324b86c8f7490830fea471c65c5.\n>\n> This commit object is easily reachable at\n> http://mirrors.catalyst.net.nz/git/moodle.git/objects/ \n> f0/4241b142edfbf28fff2babb426cbab5b44e26b\n>\n> If I use cg-clone, I get a similar error\n>\n> cg-clone http://locke.catalyst.net.nz/git/moodle.git#mdl-artena- \n> tairawhiti\n> mdlfooo\n> (...)\n> Cannot obtain needed object 214e6374d49e6d014f0ba6f159d585a3fe468909\n> while processing commit 0000000000000000000000000000000000000000.\n> cg-fetch: objects fetch failed\n> cg-clone: fetch failed\n>\n> This commit object seems to be in a pack:\n> http://mirrors.catalyst.net.nz/git/moodle.git/objects/pack/ \n> pack-094560c0177ad659a6e172739c4be53da749e5f0.pack\n>\n> git-cat-file on the server works correctly, and cloning/working over\n> git+ssh works too.\n>\n> cheers,\n>\n>\n> martin\n> -\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n>\n>\n\n-- \nBen ベン Бэн\nhttp://www.hawaga.org.uk/ben/\n"},{"id":"11318","messageId":"Pine.LNX.4.63.0511081252070.2649@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"2370","inReplyTo":"46a038f90511071837g474bdc44vf60dd0758511f24c@mail.gmail.com","subject":"Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2005-11-08T11:54:11Z","receivedAt":"2005-11-08T11:54:11Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Tue, 8 Nov 2005, Martin Langhoff wrote:\n\n> On 11/8/05, Nick Hengeveld <nickh@reactrix.com> wrote:\n> \n> > You might try this to see exactly what request/response headers\n> > curl thinks are passing back and forth.\n> \n> It definitely looks like it's doing a few requests in parallel and\n> getting them mixed up. BTW, this repo is public and sitting on a box\n> that doubles up as kernel mirror -- feel free to hit it ;-)\n\nIt could be a similar problem to what I experienced in http-push: \nUninintialized memory due to the code path. Can you run\n\n\tvalgrind --leak-check=yes --show-reachable=yes git-http-fetch...\n\nand check for jump depending on uninitialized memory?\n\nHth,\nDscho\n"},{"id":"11367","messageId":"20051109010922.GC5830@reactrix.com","threadId":"2370","inReplyTo":"1537CD60-21E4-4F5E-820F-216A4E8C06AC@hawaga.org.uk","subject":"Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","fromName":"Nick Hengeveld","fromEmail":"nickh@reactrix.com","sentAt":"2005-11-09T01:09:22Z","receivedAt":"2005-11-09T01:09:22Z","isPatch":false,"sender":{"key":"nickh@reactrix.com","avatar":null},"body":"On Tue, Nov 08, 2005 at 10:19:53PM +1100, Ben Clifford wrote:\n\n> I got similar today; www.hawaga.org.uk is some apache server on  \n> linux, and piva.hawaga.org.uk, the client Mac OS X.\n> ...\n> error:  (curl_result = 3181280, http_code = 200, sha1 =  \n> c99aa418704f576aad8249d042cd6afecf38afc4)\n\nThose curl result codes all look wrong, and sounds like a memory issue\nthat Johannes Schindelin recently fixed in commit\n90279074ca5cc336a8bfffd47d19d089b291b432.  Does your git build have that\npatch?\n\n-- \nFor a successful technology, reality must take precedence over public\nrelations, for nature cannot be fooled.\n"},{"id":"11382","messageId":"5C8707EC-3A6F-46B6-8FB1-AAB0842DDDD1@hawaga.org.uk","threadId":"2370","inReplyTo":"20051109010922.GC5830@reactrix.com","subject":"Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","fromName":"Ben Clifford","fromEmail":"benc@hawaga.org.uk","sentAt":"2005-11-09T09:49:30Z","receivedAt":"2005-11-09T09:49:30Z","isPatch":false,"sender":{"key":"benc@hawaga.org.uk","avatar":"https://gravatar.com/avatar/c7ce083471287f8e77b69dd147f757799d1efdd740727fd7e3003f33e88be898?d=mp&s=160"},"body":"\nOn 9 Nov 2005, at 12:09, Nick Hengeveld wrote:\n>\n> Those curl result codes all look wrong, and sounds like a memory issue\n> that Johannes Schindelin recently fixed in commit\n> 90279074ca5cc336a8bfffd47d19d089b291b432.  Does your git build have  \n> that\n> patch?\n\nI did not - I've pulled and rebuilt from master, and have that commit  \nnow.\nIt works better (not perfectly (there's a tags 403) but I suspect  \nthat may be permissions config at my server end or absence of tags in  \nmy repo or something mumble). I can do this a bunch of times in a row  \nwith the same results and the resulting cloned repository looks sane.\n\nBen\n\n!535 [0] benc@piva:~/tmp/xa4$ cg clone http://www.hawaga.org.uk/ \ngitcompletion.git\ndefaulting to local storage area\n20:46:16 URL:http://www.hawaga.org.uk/gitcompletion.git/HEAD [41/41] - \n > \"refs/heads/.origin-fetching\" [1]\nprogress: 28 objects, 7901 bytes\nhttp://www.hawaga.org.uk/gitcompletion.git/refs/tags/:\n20:46:36 ERROR 403: Forbidden.\n\nFINISHED --20:46:36--\nDownloaded: 0 bytes in 0 files\nNew branch: a108bdc110dad770ec5c092759a8bc511790d21f\nCloned to gitcompletion/ (origin http://www.hawaga.org.uk/ \ngitcompletion.git available as branch \"origin\")\n\n\n-- \nBen ベン Бэн\nhttp://www.hawaga.org.uk/ben/\n"},{"id":"11386","messageId":"20051109112030.GC30496@pasky.or.cz","threadId":"2370","inReplyTo":"5C8707EC-3A6F-46B6-8FB1-AAB0842DDDD1@hawaga.org.uk","subject":"Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2005-11-09T11:20:30Z","receivedAt":"2005-11-09T11:20:30Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Wed, Nov 09, 2005 at 10:49:30AM CET, I got a letter\nwhere Ben Clifford <benc@hawaga.org.uk> said that...\n> \n> On 9 Nov 2005, at 12:09, Nick Hengeveld wrote:\n> >\n> >Those curl result codes all look wrong, and sounds like a memory issue\n> >that Johannes Schindelin recently fixed in commit\n> >90279074ca5cc336a8bfffd47d19d089b291b432.  Does your git build have  \n> >that\n> >patch?\n> \n> I did not - I've pulled and rebuilt from master, and have that commit  \n> now.\n> It works better (not perfectly (there's a tags 403) but I suspect  \n> that may be permissions config at my server end or absence of tags in  \n> my repo or something mumble). I can do this a bunch of times in a row  \n> with the same results and the resulting cloned repository looks sane.\n\nThis likely means that you don't permit directory listing of the tags/\nsubdir. Since Cogito is just about to cease using it, though, it's up to\nyou whether you'll go through the trouble of enabling it or waiting for\nnew Cogito version. ;-)\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nVI has two modes: the one in which it beeps and the one in which\nit doesn't.\n"}]}