git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git over http not re-authenticating after 301 redirect?
@ 2009-04-07  2:14 Paul Vincent Craven
  2009-04-07  7:42 ` Martin Storsjö
  2009-04-09 17:20 ` Tay Ray Chuan
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Vincent Craven @ 2009-04-07  2:14 UTC (permalink / raw)
  To: git

When I do a git-push from a repository I set up, I get:

craven@craven-desktop:~/docs$ git push
Unable to create branch path
http://username:password@server.simpson.edu/my_repo.git/info
Error: cannot lock existing info/refs
error: failed to push some refs to
'http://username:password@server.simpson.edu/my_repo.git/'

The web log shows:
10.1.21.232 - username [06/Apr/2009:21:24:04 -0500] "PROPFIND
/my_repo.git/ HTTP/1.1" 207 559 "-" "git/1.5.6.3"
10.1.21.232 - username [06/Apr/2009:21:24:04 -0500] "HEAD
/my_repo.git/info/refs HTTP/1.1" 200 - "-" "git/1.5.6.3"
10.1.21.232 - username [06/Apr/2009:21:24:04 -0500] "HEAD
/my_repo.git/objects/info/packs HTTP/1.1" 200 - "-" "git/1.5.6.3"
10.1.21.232 - username [06/Apr/2009:21:24:04 -0500] "MKCOL
/my_repo.git/info HTTP/1.1" 301 383 "-" "git/1.5.6.3"
10.1.21.232 - - [06/Apr/2009:21:24:04 -0500] "MKCOL /my_repo.git/info/
HTTP/1.1" 401 536 "-" "git/1.5.6.3"

Note that after the 301 redirect, I don't seem to have a username sent
anymore. I'm not sure this is the issue, but is seems like a
possibility.

I have the same issue on other computers that have cloned the repository.

The /my_repo.git/info/ directory does exist.

I thought I had this working the first day I set it up, but now it no
longer does. If someone could point me in the correct direction, I'd
appreciate it.

-- 
Paul Vincent Craven

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

end of thread, other threads:[~2009-04-09 17:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07  2:14 git over http not re-authenticating after 301 redirect? Paul Vincent Craven
2009-04-07  7:42 ` Martin Storsjö
2009-04-07 19:25   ` Paul Vincent Craven
2009-04-09 17:20 ` Tay Ray Chuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).