[Bug 5303] New: Unsupported protocol error message isn't descriptive enough

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Jul 18 23:00:22 EDT 2016


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

            Bug ID: 5303
           Summary: Unsupported protocol error message isn't descriptive
                    enough
           Product: Mercurial
           Version: 3.9-rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: releaseblocker
          Severity: bug
          Priority: urgent
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: gregory.szorc at gmail.com
                CC: mercurial-devel at selenic.com

With the 3.9 RC on a Python with modern ssl support (which now requires TLS
1.1+ out of the box):

$ hg pull
pulling from https://selenic.com/repo/hg
(an attempt was made to load CA certificates but none were loaded; see
https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial
to avoid this error)
(could not negotiate a common protocol; see
https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial
to avoid this error)
working directory parent is obsolete!
(use "hg evolve" to update to its successor)
abort: error: [SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:590)

This error is because selenic.com is only serving TLS 1.0 and Mercurial insists
on TLS 1.1+. I thought I had checked for this and made the error message a bit
better. Apparently not.

We can't ship this to users because the error experience is horrible.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list