I am getting an error when I perform the git push

git push -u origin master
Logon failed, use ctrl+c to cancel basic credential prompt.
Password for 'https://www.mulugigi@bitbucket.org':
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: Authentication failed for 'https://www.mulugigi@bitbucket.org/mulugigi/git-test.git/'

3 answers

0 votes

Hi Mulu,

Can you enable the Git Trace Logs and post the output? This should help us determine what is happening in the backend when you try to push:

On Linux
Execute the following on the command line before executing the Git command:

export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=

On Windows
Execute the following on the command line before executing the Git command:

set GIT_TRACE_PACKET=1
set GIT_TRACE=1
set GIT_CURL_VERBOSE=1

0 votes

Screen Shot 2018-01-16 at 3.13.45 PM.pngI think, my issue is the same. After update i am forced to relogin (Sourcetree-Preferences-Accounts-Edit-Connect account) before every action.

Hi! I recommend use a ssh key autentication to preven this.

 

¿How to?

https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

678 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot