2013-06-17 3 views
2

누군가가이 문제를 진단하는 데 도움이되기를 바랍니다. 나는 최신 루비와 자식으로 기본 우분투 12.04에서 Gitlab 5.2를 돌리고있다. 일부 LDAP 매핑 수정 (사용자 이름, 표시 이름)을 제외하고는 대부분 바닐라입니다.Gitlab public repo clone

진단에 문제가있는 Gitlab 오류가 발생합니다.

Started GET "/dd/lol.git/info/refs?service=git-upload-pack" for 127.0.0.1 at 2013-06-17 10:21:55 -0400 
Started POST "/dd/lol.git/git-upload-pack" for 127.0.0.1 at 2013-06-17 10:21:55 -0400 

내가 (우분투) 얻을 :

Started GET "/dd/lol.git/info/refs?service=git-upload-pack" for 127.0.0.1 at 2013-06-17 10:26:13 -0400 
Started GET "/dd/lol.git/HEAD" for 127.0.0.1 at 2013-06-17 10:26:13 -0400 
Started GET "/dd/lol.git/HEAD" for 127.0.0.1 at 2013-06-17 10:26:15 -0400 
Started GET "/dd/lol.git/HEAD" for 127.0.0.1 at 2013-06-17 10:26:15 -0400 
Started GET "/dd/lol.git/objects/8c/4e72acdc72843492f55d5918f53dd12e5f1e43" for 127.0.0.1 at 2013-06-17 10:26:15 -0400 
Started GET "/dd/lol.git/objects/info/packs" for 127.0.0.1 at 2013-06-17 10:26:15 -0400 

에 내가 대신 예상 (같은 LDAP 매핑 수정을 CentOS는 작업)으로하는 '공공'의 repo를 복제하려고 시도 할 때마다 클라이언트 측에서 "401 Unauthorized"메시지가 일관되게 나타나면 암호를 묻는 메시지가 나타납니다. 그것은 아파치 또는 Nginx 프록시와 관련이있는 것 같지 않습니다.

클라이언트 측 로그 :

git clone http://127.0.0.1:9292/dd/lol.git 
Cloning into 'lol'... 
* Couldn't find host 127.0.0.1 in the .netrc file; using defaults 
* About to connect() to 127.0.0.1 port 9292 (#0) 
* Trying 127.0.0.1... 
* Adding handle: conn: 0x7fc610803000 
* Adding handle: send: 0 
* Adding handle: recv: 0 
* Curl_addHandleToPipeline: length: 1 
* - Conn 0 (0x7fc610803000) send_pipe: 1, recv_pipe: 0 
* Connected to 127.0.0.1 (127.0.0.1) port 9292 (#0) 
> GET /dd/lol.git/info/refs?service=git-upload-pack HTTP/1.1 
User-Agent: git/1.7.12.4 (Apple Git-37) 
Host: 127.0.0.1:9292 
Accept: */* 
Accept-Encoding: gzip 
Pragma: no-cache 

< HTTP/1.1 200 OK 
< Content-Type: text/plain; charset=utf-8 
< Last-Modified: Mon, 17 Jun 2013 14:33:31 GMT 
< Expires: Fri, 01 Jan 1980 00:00:00 GMT 
< Pragma: no-cache 
< Cache-Control: no-cache, max-age=0, must-revalidate 
< X-UA-Compatible: IE=Edge,chrome=1 
< X-Request-Id: 0a9ec65cffb7888fb6fbc136171fa80a 
< X-Runtime: 0.079635 
< Date: Mon, 17 Jun 2013 14:33:31 GMT 
< X-Content-Digest: 198141e92e2cf9bb83d1aa1022fdea885993f02e 
< Age: 0 
< X-Rack-Cache: stale, invalid, store 
< Content-Length: 59 
< 
* Connection #0 to host 127.0.0.1 left intact 
* Couldn't find host 127.0.0.1 in the .netrc file; using defaults 
* Found bundle for host 127.0.0.1: 0x7fc6104155f0 
* Re-using existing connection! (#0) with host 127.0.0.1 
* Connected to 127.0.0.1 (127.0.0.1) port 9292 (#0) 
* Adding handle: conn: 0x7fc610803000 
* Adding handle: send: 0 
* Adding handle: recv: 0 
* Curl_addHandleToPipeline: length: 1 
* - Conn 0 (0x7fc610803000) send_pipe: 1, recv_pipe: 0 
> GET /dd/lol.git/HEAD HTTP/1.1 
User-Agent: git/1.7.12.4 (Apple Git-37) 
Host: 127.0.0.1:9292 
Accept: */* 
Accept-Encoding: gzip 
Pragma: no-cache 

* The requested URL returned error: 401 Unauthorized 
* Closing connection 0 

모두에서 모든 제안은 매우 환영합니다, 나는 Gitlab에 익숙하지 그리고 난 현재 조금 난처한 상황에 빠진입니다. 활성화 LDAP으로 복제

  • 은 드미트리

답변