Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341221

Summary: 403 when cloning e4 git repo
Product: Community Reporter: Christian Campo <christian.campo>
Component: GitAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pwebster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Christian Campo CLA 2011-03-29 08:28:54 EDT
I tried to clone the e4 repo multiple times from a Mac and a Windows machine and always get an 403 error…..


git clone http://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git
Initialized empty Git repository in /Users/christian/workspace/orion/eclipse/org.eclipse.orion.client/.git/
error: The requested URL returned error: 403 (curl_result = 22, http_code = 403, sha1 = 010f3b23dfe13053735fb99a9278796704e63af2)
Getting pack list for http://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git
error: Unable to verify pack e65a436f3af0aee820b91110572d40534d86bbd1 is available
error: Unable to verify pack c14801108a75349020affb71174f94fa6b48aaec is available
error: Unable to verify pack 157b57d225bb0b235ea713d8651c048cd7edab78 is available
error: Unable to verify pack 0a28a62b62c965c340ecdaf1e554b9473d454252 is available
Getting alternates list for http://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git
error: Unable to find 010f3b23dfe13053735fb99a9278796704e63af2 under http://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git
Cannot obtain needed object 010f3b23dfe13053735fb99a9278796704e63af2
fatal: Fetch failed.

ccmac8:eclipse christian$ git --version
git version 1.6.4

also tried it on Windows with a git from cygwin with the same result. Multiple people on the orion-dev have no problem cloning…..

Any idea what that is ? Do you get to see the 403 in any log. I am NOT an e4 committer (which distinguishes me from the rest maybe.
Comment 1 Denis Roy CLA 2011-03-29 09:35:37 EDT
Do you use a corporate proxy to access the Internet?  I cannot reproduce this.
Comment 2 Paul Webster CLA 2011-03-29 09:39:46 EDT
Just another data point, an http clone from my machine works, although I have git 1.7.1

PW
Comment 3 Christian Campo CLA 2011-03-29 11:26:28 EDT
new computer in complete different internet connectivity (home DSL provider) still a Mac OS X

slightly different error but still an error…..


git clone http://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git
Initialized empty Git repository in /Users/christian/test88/org.eclipse.orion.client/.git/
error: The requested URL returned error: 403 (curl_result = 22, http_code = 403, sha1 = 010f3b23dfe13053735fb99a9278796704e63af2)
error: Unable to get pack index http://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git/objects/pack/pack-e65a436f3af0aee820b91110572d40534d86bbd1.idx

error: Unable to get pack index http://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git/objects/pack/pack-c14801108a75349020affb71174f94fa6b48aaec.idx

error: Unable to get pack index http://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git/objects/pack/pack-157b57d225bb0b235ea713d8651c048cd7edab78.idx

error: Unable to get pack index http://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git/objects/pack/pack-0a28a62b62c965c340ecdaf1e554b9473d454252.idx

error: Unable to find 010f3b23dfe13053735fb99a9278796704e63af2 under http://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git
Cannot obtain needed object 010f3b23dfe13053735fb99a9278796704e63af2
fatal: Fetch failed.
minicampo:test88 christian$ git --version
git version 1.6.5.7
Comment 4 Denis Roy CLA 2011-03-29 11:49:23 EDT
You can also try using the git protocol, instead of http.

git clone git://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git

http support was much improved in 1.7+ and that may be your problem.
Comment 5 Denis Roy CLA 2011-03-29 11:51:03 EDT
Actually, we are running the http smart server for git, which much improves the throughput of http connections for those who cannot use the git protocol, so this may be what is confusing your older client.

From here, I think your only two choices are to either use git:// or to upgrade to a newer client.
Comment 6 Christian Campo CLA 2011-03-29 11:59:11 EDT
switching to git:// protocol helped thanks….Also a collegue has Git 1.7.3.4 and there it works. So I assume that this is the problem.

I am closing it as FIXED.

thanks for your help.