Seeing "ssl required" on push
Peter Hosey
boredzo at gmail.com
Sat Oct 4 22:26:40 UTC 2008
On Oct 04, 2008, at 14:24:40, Andrew Lentvorski wrote:
> The error changes, now I get:
>
> $ hg push http://192.168.205.6:8000/
> pushing to http://192.168.205.6:8000/
> searching for changes
> abort: authorization failed
Are you using a separate web server with hgweb or hgwebdir as a CGI
program, or are you using hg serve?
Looking at the code (main at f29b674cc221), it appears that hg serve
doesn't allow you to allow push for only specific people—it's either
nobody or everybody. I don't know whether this is a design decision or
just a bug, although I think it's just a bug.
(Specific problem: mercurial.hgweb.server._hgwebhandler.do_hgweb
doesn't set REMOTE_USER in the environment dictionary, so hgweb_mod
finds itself looking at None.)
There was a thread on this same list a couple months ago about the
same error. Here are some proposed fixes and lines of investigation:
http://www.selenic.com/pipermail/mercurial/2008-August/020854.html
http://www.selenic.com/pipermail/mercurial/2008-August/020908.html
http://www.selenic.com/pipermail/mercurial/2008-August/020925.html
http://www.selenic.com/pipermail/mercurial/2008-August/020926.html
More information about the Mercurial
mailing list