Hgweb.cgi throws ssl error

Augie Fackler raf at durin42.com
Tue Sep 12 22:41:36 EDT 2017


On Fri, Sep 08, 2017 at 09:38:23AM +0200, akos tajti wrote:
> Dear List Members,
>
> this is our situation. We have a java web application that enables the users to browse the contents of a mercurial repository. This is a simple servlet that executes mercurial commands. All mercurial repositories are checked out on the server. At one point the servlet runs a hg update command on the same server where the repos are created (so the update is run on the local repositories). This update command unfortunately throws the following error:
>       error: _ssl.c:490: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
> Note that the user is browsing the page through https but the command is called on a  repo in the local file system. web.push_ssl is set to false. Do you have any idea what could be the problem?

It sounds like whatever Python you've used to run hgweb.cgi is stuck
on very old TLS settings. Try updating your Python to something recent
like 2.7.13.

>
>
> Thanks in advance,
> Ákos Tajti
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list