Invalid username or password

merv0190
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 21, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
February 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.

merv0190
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 22, 2019

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
AUG Leaders

Atlassian Community Events