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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

874 views 2 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