Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,292
Community Members
 
Community Events
165
Community Groups

remote: Invalid username or password.

Edited

*EDIT*

OS: Win 10 Home

ST Version: 2.6.10.0

----------------------------------------------------

I logged into BitBucket with my google account.

Added a new App Password and copied it

Downloaded SourceTree

I went to [Tools > Options > Authentication]

I used these parameters:

- Hosting Service: BitBucket

- Host URL: https://bitbucket.org/

- Protocol: HTTPS

- Authentication: Basic

- Typed Username and Refreshed password and the window says "Authentication OK"

- Created my repository and pushed some changes. All was good

Today (36 hours later) I tried to pull/push and BAM! invalid username or password. All I did was to turn off the computer and turn it on. Didn't even log into BitBucket during those 36 hours. 

I tried basic authentication with an App Password and OAuth (refreshing the token) and in the window everything seems cool... but as soon as I try to do something... "invalid username or password". Heck, I can even see my google avatar inside Sourcetree but as soon as I to to do a pull/push I get the error.

I clic the "Remote" button and it opens a <default browser> and takes me to my repository without any issue.

On the left menu, under "TAGS", inside "REMOTES" I see my *origin*, I clic it and I see all the files inside it.

Still, I can't do anything.

Any help would be much appreciated, been hours trying to solve this and I can't even understand how is it possible that I was able to push the new files in one computer, pull them in another... and a day later, I can't a thing. 

1 comment

UPDATE

I tried something new. I deleted my local repository and tried to download it again. I entered my credentials and used OAut authentication method. 

It says my password is ok, it detects my git repository on bitbucket, it acknowledges my linked account... and when I try to clone it, it asks the password and no matter how many times I write it, it does not work. 

What gives?

Everything on Sourcetree says the connection to the remote server is perfectly set but as soon as I try to pull, I get the endless login window.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,085 views 2 9
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