MacOS can't connect to GitHub

SourceTree version: 2.5.1

Problem: Can't successfully connect to GitHub repositories via HTTPS or SSH

I am not using two-factor authentication.

 

Behavior: I can connect to my Github Account successfully (using HTTPS or SSH)

Screen Shot 2017-05-23 at 10.29.28 AM.png

However, when I try to connect to remote repos, I get an error message like this:

Screen Shot 2017-05-23 at 10.30.31 AM.png

 

Sometimes the error is 'Could not authorize request with the available token' and other times it is 'Bad credentials'. 

1 answer

Can you please try with version 2.5.2?

You can download the build from https://bitbucket.org/atlassianlabs/sourcetree-betas/downloads/OSX_Latest.zip

Also, you can delete all your keychain items for GitHub before adding it agian on SourceTree just to make sure there isn't some old token leading to the same issue again.

 

Thanks!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

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

546 views 1 2
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