Hi,

      I get this error "abort: error: _ssl.c:490: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol"

      I have set my proxy properly, so it is not a proxy error. My Hg version is 2.0.2 and using XP sp3 32 bit.

      Suminda

            [BCLOUD-3513] SSL Error

            @evzijst: We get the same error (behind company proxy in Windows and the sys admin has disabled removing the proxy in windows) but when I try the same in Linux without proxy but in the same network, it works without issue.

            I get this in Windows when I try to clone (Get 2 different errors with and without https) with http, I get 407 error, and with https, I get the above error.

            vigneshviswam added a comment - @evzijst: We get the same error (behind company proxy in Windows and the sys admin has disabled removing the proxy in windows) but when I try the same in Linux without proxy but in the same network, it works without issue. I get this in Windows when I try to clone (Get 2 different errors with and without https) with http, I get 407 error, and with https, I get the above error.

            I'm using Windows 7 with Git version 2.9.3.windows.1.

            I'm trying to clone my repository to my local hard drive and get this error:

            fatal: unable to access 'https://MY_NAME@bitbucket.org/MY_NAME/REPOSITORY_NAME.git/': error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

            Google searching this issue is confusing at best. I do not have access to change anything on our Bitbucket account's settings, nor on our proxy (set to "use automatic configuration script" - which I do not have access to).

            I was able to successfully clone this repository in the same office environment on a Mac, but really need it to clone to my PC laptop.

            What do I need to do?

            dennisdelgado added a comment - I'm using Windows 7 with Git version 2.9.3.windows.1. I'm trying to clone my repository to my local hard drive and get this error: fatal: unable to access ' https://MY_NAME@bitbucket.org/MY_NAME/REPOSITORY_NAME.git/': error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol Google searching this issue is confusing at best. I do not have access to change anything on our Bitbucket account's settings, nor on our proxy (set to "use automatic configuration script" - which I do not have access to). I was able to successfully clone this repository in the same office environment on a Mac, but really need it to clone to my PC laptop. What do I need to do?

            evzijst added a comment -

            I'm closing this issue after nearly a year with no further information. Just reopen if you're still having issues.

            evzijst added a comment - I'm closing this issue after nearly a year with no further information. Just reopen if you're still having issues.

            legacy-bitbucket-user added a comment -

            I have the same problem here (#3777) - but only since a few days ---
            any progress?

            Regards,
            J

            legacy-bitbucket-user added a comment - I have the same problem here (#3777) - but only since a few days --- any progress? Regards, J

            conr added a comment -

            Hi, all.

            I have similar issue. In wireshark dump I've found:

            {{{
            CONNECT bitbucket.org:443 HTTP/1.0
            Proxy-authorization: Basic ***************************

            HTTP/1.1 407 Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
            Via: 1.1 *****
            Proxy-Authenticate: Negotiate
            Proxy-Authenticate: Kerberos
            Proxy-Authenticate: NTLM
            Connection: close
            .......
            }}}

            So it seems to be an hg issue: hg support only Basic proxy authentication type while the proxy requires more secure one.

            conr added a comment - Hi, all. I have similar issue. In wireshark dump I've found: {{{ CONNECT bitbucket.org:443 HTTP/1.0 Proxy-authorization: Basic *************************** HTTP/1.1 407 Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. ) Via: 1.1 ***** Proxy-Authenticate: Negotiate Proxy-Authenticate: Kerberos Proxy-Authenticate: NTLM Connection: close ....... }}} So it seems to be an hg issue: hg support only Basic proxy authentication type while the proxy requires more secure one.

            evzijst added a comment -

            Hi Suminda,

            Can you please move this to support by emailing support@bitbucket.org so we can look closer into this? Also, can you try that without a local proxy (you seem to run the request through http://hopxy01:8080/).

            Regards,
            Erik

            evzijst added a comment - Hi Suminda, Can you please move this to support by emailing support@bitbucket.org so we can look closer into this? Also, can you try that without a local proxy (you seem to run the request through http://hopxy01:8080/ ). Regards, Erik

            This is not that helpful. This is a lot of noise in this discussion.

            Suminda Sirinath Salpitikorala Dharmasena added a comment - This is not that helpful. This is a lot of noise in this discussion.

            Hi Suminda,

            This appears to be an issue with Mercurial. You might find some help on this page:

            https://bitbucket.org/tortoisehg/thg/issue/63/cannot-pull-push-to-https-server-with-self

            Regards,

            Mary

            Legacy Bitbucket Cloud User (Inactive) added a comment - Hi Suminda, This appears to be an issue with Mercurial. You might find some help on this page: https://bitbucket.org/tortoisehg/thg/issue/63/cannot-pull-push-to-https-server-with-self Regards, Mary

            Additional info

            pushing to https://sirinath:***@bitbucket.org/sirinath/xltrader\\
            using https://bitbucket.org/sirinath/xltrader\\
            proxying through http://hopxy01:8080\\
            http auth: user sirinath, password ********
            sending capabilities command
            abort: error: _ssl.c:490: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

            Suminda Sirinath Salpitikorala Dharmasena added a comment - Additional info pushing to https://sirinath:***@bitbucket.org/sirinath/xltrader\\ using https://bitbucket.org/sirinath/xltrader\\ proxying through http://hopxy01:8080\\ http auth: user sirinath, password ******** sending capabilities command abort: error: _ssl.c:490: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

              6995b9ed1710 evzijst
              c929f9252c66 Suminda Sirinath Salpitikorala Dharmasena
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: