"The server committed a protocol violation" logging into bitbucket from SourceTree

Trying to Browse Hosted Projects from the Clone/Add/Create Repositor. I click the little globe icon and get:

 

Login Error

Login failed for your Bitbucket account.

The remote service said: 'The server committed a protocol violation. Section=ResponseStatusLine'

I got to this point because when trying to use the Clone string from the Bitbucket website I was getting an error that my repository was not a valid source path, but details showed "Recv failure" Connection was reset"

That led me to check another existing repository in Source Tree and I can't pull from that any more either.

So I feel like the root of my error is that I can't log in from SourceTree. I can log in through a browser with no trouble

 

1 answer

0 vote
Mikael Sandberg Community Champion Apr 20, 2016

What version of Git are you using on your client? I have seen the issue with the Clone URL string you get from Bitbucket have extra characters in SourceTree if you are using an old version of Git.

My embedded version is 1.8.3 but if I try to update it I get the same protocol violation error. My system version is 2.8.1.

Maybe I need to re-installed SourceTree or test on a 2nd machine.

I finally got everything working from the command line using SSH keys instead of a password but still can't get SourceTree to play nice.

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

274 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot