All of lore.kernel.org
 help / color / mirror / Atom feed
* Cannot clone the git repository shared over http with authorization.
@ 2012-04-01 18:48 Artur R. Czechowski
  2012-04-01 19:45 ` Clemens Buchacher
  0 siblings, 1 reply; 12+ messages in thread
From: Artur R. Czechowski @ 2012-04-01 18:48 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 3890 bytes --]

Hello,

arturcz@szczaw:/tmp$ git clone http://blabluga.hell.pl/git/test.git
Cloning into 'test'...
Debug: Remote helper: -> capabilities
Debug: Remote helper: Waiting...
Debug: Remote helper: <- fetch
Debug: Got cap fetch
Debug: Remote helper: Waiting...
Debug: Remote helper: <- option
Debug: Got cap option
Debug: Remote helper: Waiting...
Debug: Remote helper: <- push
Debug: Got cap push
Debug: Remote helper: Waiting...
Debug: Remote helper: <- 
Debug: Capabilities complete.
Debug: Remote helper: Waiting...
Username for 'http://blabluga.hell.pl': test
Password for 'http://test@blabluga.hell.pl': 
Debug: Remote helper: <- @refs/heads/master HEAD
Debug: Remote helper: Waiting...
Debug: Remote helper: <- c64bcf957545f61436d405326d985521dc45058f refs/heads/master
Debug: Remote helper: Waiting...
Debug: Remote helper: <- 
Debug: Read ref listing.
Debug: Remote helper: -> option progress true
Debug: Remote helper: Waiting...
Debug: Remote helper: <- ok
Debug: Remote helper: -> option verbosity 1
Debug: Remote helper: Waiting...
Debug: Remote helper: <- ok
Debug: Remote helper: -> fetch c64bcf957545f61436d405326d985521dc45058f HEAD
fetch c64bcf957545f61436d405326d985521dc45058f refs/heads/master

Debug: Remote helper: Waiting...
error: The requested URL returned error: 401 (curl_result = 22, http_code = 401, sha1 = e884293079beab9f2583b59b4e05479fc84fc588)
error: Unable to find e884293079beab9f2583b59b4e05479fc84fc588 under http://blabluga.hell.pl/git/test.git
Cannot obtain needed commit e884293079beab9f2583b59b4e05479fc84fc588
while processing commit c64bcf957545f61436d405326d985521dc45058f.
error: Fetch failed.

The apache log from the action:

192.168.109.13 - - [01/Apr/2012:20:33:42 +0200] "GET /git/test.git/info/refs?service=git-upload-pack HTTP/1.1" 401 694 "-" "git/1.7.9.1"
192.168.109.13 - - [01/Apr/2012:20:33:50 +0200] "GET /git/test.git/info/refs?service=git-upload-pack HTTP/1.1" 401 694 "-" "git/1.7.9.1"
192.168.109.13 - test [01/Apr/2012:20:33:50 +0200] "GET /git/test.git/info/refs?service=git-upload-pack HTTP/1.1" 200 294 "-" "git/1.7.9.1"
192.168.109.13 - test [01/Apr/2012:20:33:50 +0200] "GET /git/test.git/HEAD HTTP/1.1" 200 257 "-" "git/1.7.9.1"
192.168.109.13 - test [01/Apr/2012:20:33:50 +0200] "GET /git/test.git/objects/c6/4bcf957545f61436d405326d985521dc45058f HTTP/1.1" 200 403 "-" "git/1.7.9.1"
192.168.109.13 - test [01/Apr/2012:20:33:50 +0200] "GET /git/test.git/objects/b8/ab890a5432053f85d74a3b4ff798011260e222 HTTP/1.1" 200 288 "-" "git/1.7.9.1"
192.168.109.13 - - [01/Apr/2012:20:33:50 +0200] "GET /git/test.git/objects/fe/0e1075a026f19269bd958b05f586e252af7635 HTTP/1.1" 401 694 "-" "git/1.7.9.1"
192.168.109.13 - - [01/Apr/2012:20:33:50 +0200] "GET /git/test.git/objects/e8/84293079beab9f2583b59b4e05479fc84fc588 HTTP/1.1" 401 694 "-" "git/1.7.9.1"
192.168.109.13 - - [01/Apr/2012:20:33:50 +0200] "GET /git/test.git/objects/info/packs HTTP/1.1" 401 694 "-" "git/1.7.9.1"
192.168.109.13 - - [01/Apr/2012:20:33:50 +0200] "GET /git/test.git/objects/info/http-alternates HTTP/1.1" 401 694 "-" "git/1.7.9.1"
192.168.109.13 - - [01/Apr/2012:20:33:50 +0200] "GET /git/test.git/objects/info/alternates HTTP/1.1" 401 694 "-" "git/1.7.9.1"

On the client side I'm using 1.7.9.1 from Debian package. Repository is
shared from apache using a DAV on directive (a person from #git channel
told me it's called a dumb http).

It's worth to say, that I've already asked for support on #git channel
and the problem exists with git/1.7.9.5 and git/1.7.10.rc3.3.g19a6c (at
least those versions can be seen in my access.log).

If necessary I can arrange an access to the repository.

Regards
        Artur
-- 
(ac) ,<                                             
    _ó_____     We all live in a yellow submarine...  
   <_______>                                             

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-04-13  6:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-01 18:48 Cannot clone the git repository shared over http with authorization Artur R. Czechowski
2012-04-01 19:45 ` Clemens Buchacher
2012-04-01 20:53   ` Clemens Buchacher
2012-04-02  8:31   ` Jeff King
2012-04-10  9:53     ` Clemens Buchacher
2012-04-10  9:53       ` [PATCH 1/2] http auth fails with multiple curl handles Clemens Buchacher
2012-04-10  9:53       ` [PATCH 2/2] fix http auth " Clemens Buchacher
2012-04-12  7:09         ` Jeff King
2012-04-12 22:50           ` Junio C Hamano
2012-04-13  6:16             ` Jeff King
2012-04-13  6:18               ` [PATCH 1/2] http: clean up leak in init_curl_http_auth Jeff King
2012-04-13  6:19               ` [PATCH 2/2] http: use newer curl options for setting credentials Jeff King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.