Authentication failed

Environment:

  • macOS 10.13.2 (17C205)
  • Sourcetree 2.7 (152)
  • Embedded Git 2.10.1

 

Repository:

 

Authentication when fetching:

e63d6747-9e4b-481f-a2df-488e132a3b44.png

 

Errors after input my password four times:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch --prune origin
2018-01-23 10:41:45.269 git-credential-sourcetree[4565:607642] Something went wrong. one or more parameters required to renew token is nil.
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://xx.xx.xx.xx:xxx/xxxx/UnrealEngine.git/'
2018-01-23 10:41:47.231 git-credential-sourcetree[4578:607769] Something went wrong. one or more parameters required to renew token is nil.
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://xx.xx.xx.xx:xxx/xxxx/UnrealEngine.git/'
2018-01-23 10:41:47.948 git-credential-sourcetree[4585:607798] Something went wrong. one or more parameters required to renew token is nil.
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://xx.xx.xx.xx:xxx/xxxx/UnrealEngine.git/'
2018-01-23 10:41:48.660 git-credential-sourcetree[4592:607835] Something went wrong. one or more parameters required to renew token is nil.
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://xx.xx.xx.xx:xxx/xxxx/UnrealEngine.git/'
Completed with errors, see above

 

Please help me to fix this.

Thank in advance.

1 answer

If you've added your GitHub account in Sourcetree, can you remove it and add it back to see if it helps?

If not, please consider adding your GitHub account in Sourcetree and that should ideally resolve the issue. Before doing this, remove any keychain items for the account/repo in context. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

718 views 3 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