Getting an SSL error with Mercurial on Bitbucket due to TLS

后端 未结 4 550
隐瞒了意图╮
隐瞒了意图╮ 2021-01-15 03:59

It seems that Bitbucket has now blocked TLS 1.0 and 1.1.

I am working in Eclipse on Mac OSx 10.12.6 using the MercurialEclipse (hg) 2.2 plugin.

I was receivi

相关标签:
4条回答
  • 2021-01-15 04:45

    I tried the [ui] tls = False

    This worked for me, though I do not get why. bitbucket only uses tls 1.2, and this seems like it would turn it off. Does anyone know why this worked? It is just bugging me.

    0 讨论(0)
  • 2021-01-15 04:49

    As you i had the same issue , i had done the above mentioned solution in my VirtualMachine that solved the problem though, whereas in my realtime server this did not solve. The only option you got left is changes your hgrc file within the repository ie "reponame/.hg/hgrc" and update the default path to "ssh://hg@bitbucket.org/'reponame'" instead of "https:@bitbucket.org/'reponame'" its not a good solution but will work until Bitbucket support team comes up with some solution.

    Doing this has solved my issue.

    0 讨论(0)
  • 2021-01-15 04:53

    Just a Suggestion can you create a "hgrc" file and add

    [ui] tls = False

    and give it a try.

    0 讨论(0)
  • 2021-01-15 04:56

    I was on Mac OS X 10.12 "Sierra". I updated to 10.13 "High Sierra" and it fixed the issue.

    Notably... when I run openssl version now, I get: LibreSSL 2.2.7. Where as before on 10.12 I got: OpenSSL 0.9.8zh 14 Jan 2016.

    0 讨论(0)
提交回复
热议问题