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
Highlighted

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,573 views 0 6
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