https://bz.mercurial-scm.org/show_bug.cgi?id=6839

            Bug ID: 6839
           Summary: hg debugssl throws unknown exception - TypeError:
                    coercing to Unicode: need string or buffer, NoneType
                    found
           Product: Mercurial
           Version: 2.7.1
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: hglib
          Assignee: bugzi...@mercurial-scm.org
          Reporter: robert.str...@nccgroup.com
                CC: mercurial-de...@mercurial-scm.org
    Python Version: ---

Hello,

Mercurial wasn't recognising the SSL certificate for my repository, which was
issued by my organisation's root CA, so I installed the root CA on my Windows
machine.

When I tried to do an "hg pull" from the server, Mercurial issued the following
warning:

% hg pull
pulling from https://hg.xxx.com
(the full certificate chain may not be available locally; see "hg help
debugssl")
URLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
(_ssl.c:727)

I ran "hg debugs" and got the following exception:

[...]
  File "mercurial\debugcommands.pyo", line 3788, in debugssl
  File "ssl.pyo", line 864, in connect
  File "ssl.pyo", line 851, in _real_connect
  File "socket.pyo", line 228, in meth
TypeError: coercing to Unicode: need string or buffer, NoneType found
cmdserver: process exited unexpectedly with code 255

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to