Getting "ssl required" when using an https URL
Pazu
pazu at pazu.com.br
Sat Mar 8 14:53:56 UTC 2008
On Sat, Mar 8, 2008 at 3:27 AM, Matt Nordhoff
<mnordhoff at mattnordhoff.com> wrote:
> > [web]
> > style=gitweb
>
> Not that this is your problem, but the [web] section needs to go in hgrc
> (either the ~/.hgrc of the user hgwebdir.cgi runs as or the repo's
> .hg/hgrc), not hgweb.config.
Yeah, I discovered that this doesn't work as expected shortly after
the first time I configured the server -- I just never bothered to
remove the section…
Anyway, back to the matter at hand — does anyone have any idea why
hgweb keeps saying "ssl required" even though the request is, in
theory, going through ssl? Is there any flag that I can turn on to get
more detailed debug information?
At first I thought that my python runtime didn't support SSL, and the
call is in reality going through plain HTTP as a fallback mechanism.
This doesn't seem to be the case, however:
pazu at mini:local$ python
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib2
>>> hasattr(urllib2, 'HTTPSHandler')
True
-- Pazu
More information about the Mercurial
mailing list