Public bug reported: # lsb_release -rd Description: Ubuntu 12.04.4 LTS Release: 12.04
# apt-cache policy git git: Installed: 1:1.7.9.5-1 Candidate: 1:1.7.9.5-1 Version table: *** 1:1.7.9.5-1 0 500 http://ubuntu-proxy-ehealth.d03.arc.local/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status Expected behavior: git clone asks for username, password, then performs clone Observed behavior: $ git clone https://somehost/SomeRepository/ Cloning into 'SomeRepository'... Username for 'https://somehost': somename Password for 'https://somename@somehost': error: The requested URL returned error: 401 (curl_result = 22, http_code = 401, sha1 = 9241248f5349ca187c9d0d7027d74e5da6d40447) error: Unable to find 9241248f5349ca187c9d0d7027d74e5da6d40447 under https://somehost/AdminRepo Cannot obtain needed object 9241248f5349ca187c9d0d7027d74e5da6d40447 while processing commit fdb37cc312687e69581871b8b8b33f9bc5f0725d. error: Fetch failed. The error is a known issue, a short and simple patch is available for version 1.7.9.6, see patch [1] or other report of same issue [2] [1] http://lists-archives.com/git/767523-fix-http-auth-with-multiple-curl-handles.html [2] http://git.661346.n2.nabble.com/git-clone-over-http-with-basic-auth-bug-td7567702.html ** Affects: git (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1295142 Title: git clone fails when server uses basic authentication To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1295142/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs