TeamCity 2018 not working with HTTPS BitBucket Mercurial

BitBucket recently updated their HTTPS support and now we cannot get TeamCity to connect to BitBucket.

 

We've tried everything from attempting SSH and even migrated to GIT, but it has its own issues for us.


We're really stuck - any help would be much appreciated.

This error..

 

'hg --config ui.interactive=False identify https://USERUSER@bitbucket.org/TEAMTEAM/REPOREPO' command failed.
stderr: abort: error: _ssl.c:490: EOF occurred in violation of protocol

 

2
6 comments

Hi James,

 

sorry for the delay. Upgrading your local installation of mercurial to a newer release should help fix the issue.

0

Hi Denis,

I am having the exact same issue:

TC 2018.2.1 (build 61078)

 

Windows Server 2008 R2 - Enterprise - SP1 (all up-to-date)

Mecurial 4.7

 

Any suggestions?

Cheers

 

1

Hi Duane,

 

the only reference we had this far to this issue was on older releases of Mercurial, happening because Bitbucket introduced a change in their authorization models in December. I'm not fully certain that Mercurial 4.7 is able to work with the newer bitbucket system, so I'd recommend upgrading to their last release. If it still doesn't work, please take the full log and open an issue in our tracker: https://youtrack.jetbrains.com/issues/TW

0

Hi Denis,

 

Mecurial 4.7.1 is working fine for me (manually/tortoiseHg/SourceTree) with Bitbucket.

I cannot find a later version of TC than the one I have installed?

 

 

0

TeamCity will use your local mercurial installation, so it should work (assuming you have this version installed on the agents as well). As I mentioned, if it's failingplease open an issue in the tracker, including the logs (teamcity-vcs.log from the server if the error happens server-side, or from the agent if it happens agent-side, also a build log if it happens during a build).

0

Please sign in to leave a comment.