Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

bitbucket hg push abort: error: _ssl.c:504: EOF occurred in violation of protocol

adrianamj December 6, 2018

I'm getting the following error since yesterday (Dec 5/18) when I tried the command 'hg push':

abort: error: _ssl.c:504: EOF occurred in violation of protocol

Please let me know how to solve this.

Thank you

1 answer

0 votes
G01 Tecnologia December 7, 2018

any answer for this ?

jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 7, 2018

You're using a no-longer-supported version of TLS to connect to Bitbucket. (As of 1 December we do not support HTTPS connections using TLS 1.0 or TLS 1.1; we announced this in https://bitbucket.org/blog/deprecating-tlsv1-tlsv1-1-2018-12-01 which was all over Bitbucket.) What client are you using, and what version?

G01 Tecnologia December 8, 2018

TortoiseHG 2.5.1

G01 Tecnologia December 8, 2018

32bits

adrianamj December 11, 2018

Thank you very much for replying:

When I checked the system with the following command, I got the error below:

GIT_CURL_VERBOSE=1 git ls-remote https://bitbucket.org/

* Couldn't find host bitbucket.org in the .netrc file, using defaults

* About to connect() to bitbucket.org port 443

*   Trying 18.205.93.1... * connected

* Connected to bitbucket.org (18.205.93.1) port 443

* successfully set certificate verify locations:

*   CAfile: /etc/pki/tls/certs/ca-bundle.crt

  CApath: none

* Unknown SSL protocol error in connection to bitbucket.org:443

* Closing connection #0

error: Unknown SSL protocol error in connection to bitbucket.org:443  while accessing https://bitbucket.org/info/refs?service=git-upload-pack

 

Python version = 

Python 2.7.3

 

How do I check the bitbucket version I'm using?  

Os: 

CentOS

jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 11, 2018

bitbucket.org is Bitbucket Cloud - there's no external version number there like there is for Bitbucket Server.

Your SSL/TLS library appears to be outdated, though you don't mention here what you're using or which version. curl --version should mention it, though.

Like temg7405 likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events