Why can't I push to bitbucket with Sourcetree when using my wired connection?

I setup my bitbucket repo and logged in to sourcetree and was able to commit and push to my repo no problem. After plugging into my router via an ethernet cord and disabling wifi I am unable to push to the repo. Does this have something to do with the way OAuth works, or is there something else wrong. I have updated my authentication information numorious times, and if I disabled my wired connection and connect via wifi again it works.

1 answer

0 votes

Hi Brandon! To help you with this, we'll need more information on what error messages are you getting. Also, have you already tried pushing to your repo using the command line? Are you getting the same errors?

Lastly, please remember to provide your SourceTree and OS versions. 

Best regards,



Good Morning Ana,

Here is the error I am getting from within SourceTree: 

git -c diff.mnemonicprefix=false -c core.quotepath=false -c lfs.customtransfer.bitbucket-media-api.path=git-lfs-bitbucket-media-api -c credential.helper=manager-st push -v --tags origin master:master
fatal: AggregateException encountered.
One or more errors occurred.

remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: Authentication failed for 'https://theschap@bitbucket.org/theschap/the_titan_falls.git/'
Pushing to https://theschap@bitbucket.org/theschap/the_titan_falls.git
Completed with errors, see above.

I am on 64 bit Windows 10 using SourceTree

It works when I use the command line.

I have changed my password to see if that helps and it didn't. One thing I noticed today is that it pops up the bitbucket login multiple times when trying to push through SourceTree. Almost like it's not getting sent.

Thank you for your help.

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 ...

256 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