Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339694 - HTTPS access for Libra git repo
Summary: HTTPS access for Libra git repo
Status: CLOSED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Git (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-11 09:22 EST by Kaloyan Raev CLA
Modified: 2011-03-11 11:36 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kaloyan Raev CLA 2011-03-11 09:22:49 EST
Dear Webmaster, 

I would like to check if the https access of the libra git repository (/gitroot/libra/org.eclipse.libra.git) is enabled and properly configured. 

I was able to push changes via https a month ago, but now when I try I get a strange error. Investigation so far suggests that there could be a problem on the server side. 

Greetings,
Kaloyan
Comment 1 Eclipse Webmaster CLA 2011-03-11 11:00:00 EST
By default we do not enable HTTPS access to Git(or SVN for that matter).

I've added libra to the configs, so it should be working now.

-M.
Comment 2 Kaloyan Raev CLA 2011-03-11 11:23:36 EST
Thanks. There is some progress, but it still not working. I get another error now: 

error: unpack failed: unpack-objects abnormal exit

I paste the verbose output of the push command. 

$ GIT_CURL_VERBOSE=1 git push https://kraev@git.eclipse.org/gitroot/libra/org.e
clipse.libra.git refs/heads/master:refs/heads/master
Password:
* Couldn't find host git.eclipse.org in the _netrc file; using defaults
* About to connect() to proxy proxy port 8080 (#0)
*   Trying 10.55.76.15... * 0x17db520 is at send pipe head!
* Connected to proxy (10.55.76.15) port 8080 (#0)
* Establish HTTP proxy tunnel to git.eclipse.org:443
> CONNECT git.eclipse.org:443 HTTP/1.1
Host: git.eclipse.org:443
User-Agent: git/1.7.3.1.msysgit.0
Proxy-Connection: Keep-Alive
Pragma: no-cache

< HTTP/1.1 200 Connection established
<
* Proxy replied OK to CONNECT request
* successfully set certificate verify locations:
*   CAfile: C:\Program Files\Git/bin/curl-ca-bundle.crt
  CApath: none
* Expire cleared
* SSL connection using DHE-RSA-AES256-SHA
* Server certificate:
*        subject: C=CA; ST=Ontario; L=Nepean; O=Eclipse.org Foundation, Inc.; OU
=Eclipse Foundation; CN=*.eclipse.org
*        start date: 2010-11-11 00:00:00 GMT
*        expire date: 2014-02-02 23:59:59 GMT
*        subjectAltName: git.eclipse.org matched
*        issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert High Ass
urance CA-3
*        SSL certificate verify ok.
> GET /gitroot/libra/org.eclipse.libra.git/info/refs?service=git-receive-pack HT
TP/1.1
User-Agent: git/1.7.3.1.msysgit.0
Host: git.eclipse.org
Accept: */*
Pragma: no-cache

< HTTP/1.1 401 Authorization Required
< Date: Fri, 11 Mar 2011 16:14:56 GMT
< Server: Apache
< WWW-Authenticate: Basic realm="Eclipse Committer Account"
< Vary: Accept-Encoding
< Content-Length: 401
< Content-Type: text/html; charset=iso-8859-1
<
* Ignoring the response-body
* Connection #0 to host proxy left intact
* Issue another request to this URL: 'https://kraev@git.eclipse.org/gitroot/libr
a/org.eclipse.libra.git/info/refs?service=git-receive-pack'
* Couldn't find host git.eclipse.org in the _netrc file; using defaults
* Re-using existing connection! (#0) with host proxy
* Connected to proxy (10.55.76.15) port 8080 (#0)
* 0x17db520 is at send pipe head!
* Server auth using Basic with user 'kraev'
> GET /gitroot/libra/org.eclipse.libra.git/info/refs?service=git-receive-pack HT
TP/1.1
Authorization: Basic a3JhZXY6Y2FwQGVpUmE=
User-Agent: git/1.7.3.1.msysgit.0
Host: git.eclipse.org
Accept: */*
Pragma: no-cache

< HTTP/1.1 200 OK
< Date: Fri, 11 Mar 2011 16:14:56 GMT
< Server: Apache
< Expires: Fri, 01 Jan 1980 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
< X-NodeID: dev1
< Transfer-Encoding: chunked
< Content-Type: application/x-git-receive-pack-advertisement
<
* Connection #0 to host proxy left intact
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 699 bytes, done.
Total 5 (delta 2), reused 0 (delta 0)
* Couldn't find host git.eclipse.org in the _netrc file; using defaults
* About to connect() to proxy proxy port 8080 (#0)
*   Trying 10.55.76.15... * connected
* Connected to proxy (10.55.76.15) port 8080 (#0)
* Establish HTTP proxy tunnel to git.eclipse.org:443
* Server auth using Basic with user 'kraev'
> CONNECT git.eclipse.org:443 HTTP/1.1
Host: git.eclipse.org:443
User-Agent: git/1.7.3.1.msysgit.0
Proxy-Connection: Keep-Alive
Content-Type: application/x-git-receive-pack-request
Accept: application/x-git-receive-pack-result

< HTTP/1.1 200 Connection established
<
* Proxy replied OK to CONNECT request
* successfully set certificate verify locations:
*   CAfile: C:\Program Files\Git/bin/curl-ca-bundle.crt
  CApath: none
* SSL re-using session ID
* SSL connection using DHE-RSA-AES256-SHA
* old SSL session ID is stale, removing
* Server certificate:
*        subject: C=CA; ST=Ontario; L=Nepean; O=Eclipse.org Foundation, Inc.; OU
=Eclipse Foundation; CN=*.eclipse.org
*        start date: 2010-11-11 00:00:00 GMT
*        expire date: 2014-02-02 23:59:59 GMT
*        subjectAltName: git.eclipse.org matched
*        issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert High Ass
urance CA-3
*        SSL certificate verify ok.
* Server auth using Basic with user 'kraev'
> POST /gitroot/libra/org.eclipse.libra.git/git-receive-pack HTTP/1.1
Authorization: Basic a3JhZXY6Y2FwQGVpUmE=
User-Agent: git/1.7.3.1.msysgit.0
Host: git.eclipse.org
Accept-Encoding: deflate, gzip
Content-Type: application/x-git-receive-pack-request
Accept: application/x-git-receive-pack-result
Content-Length: 835

< HTTP/1.1 200 OK
< Date: Fri, 11 Mar 2011 16:14:57 GMT
< Server: Apache
< Expires: Fri, 01 Jan 1980 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
< X-NodeID: dev2
< Transfer-Encoding: chunked
< Content-Type: application/x-git-receive-pack-result
<
error: unpack failed: unpack-objects abnormal exit
* Connection #0 to host proxy left intact
Comment 3 Eclipse Webmaster CLA 2011-03-11 11:33:08 EST
Sorry forgot to add the second ACL chain.  Please try it again.

-M.
Comment 4 Kaloyan Raev CLA 2011-03-11 11:36:45 EST
I did a successful push! Thanks :-)