Cannot clone the git repository shared over http with authorization.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx': 
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: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]