It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Invalid username or password

fatal: HttpRequestException encountered.
An error occurred while sending the request.

remote: Invalid username or password
fatal: Authentication failed for 'https://merv0190@bitbucket.org/merv0190/apache.git/'

Pushing to https://merv0190@bitbucket.org/merv0190/apache.git
Completed with errors, see above.

I keep getting this error. After updating my password. The atlassian login popup keep showing after filling the new password.

I have no idea what to do.

1 answer

1 accepted

0 votes
Answer accepted
minnsey Atlassian Team Feb 22, 2019

Hi

My first suggestion would be to make sure you are using Git 2.20.1, either but updating to Sourcetree 3.0.17 and updating the embedded Git or by installing Git for Windows and using it as a System Git.

This as the latest version of the Git Credential Manager, GCM, which fixes some problems it had with storing credentials.

I'd then suggest deleting all the 'git:' prefixed entries in the Windows Credential Manager, this means any local bad credentials are removed.

I'd also do an explicit logout/login on the bitbucket website to clear any potential locks due to too many failed login attempts.

Then run a pull/fetch/push etc you should be prompted for credentials, enter the correct ones and it should work and store the credentials so you aren't prompted again.

Thank you for responding.

I updated source tree to the latest version and I added my account in the account section in settings. Now everything works again.

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,895 views 0 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you