Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

I cannot push a repository to bitbucket, no problem before. missing credentials?

Edited

I use the Theia IDE with git to push repositories to bitbucket.

recently I have been trying to push a repository and it gives me this error

git push https://*****@bitbucket.org/*****/*****.git master

Missing or invalid credentials.
Error: connect ENOENT /tmp/vscode-git-634e186cee.sock
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1187:16) {
errno: -2,
code: 'ENOENT',
syscall: 'connect',
address: '/tmp/vscode-git-634e186cee.sock'
}
remote: Invalid credentials
fatal: Authentication failed for 'https://*****@bitbucket.org/*****/*****.git'

I have tried using different links, like https://*****@bitbucket.org/*****/*****  and that did not work as well.

using git config --list I see that my username and email match with my atlassian account.

I have an app password and it doesn't even give me a popup for it like usual, just the error.\

thank you for any responses!

 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 03, 2022

G'day Ethan!

Welcome to the Bitbucket Cloud community! :)

I have censored the workspace/repository URL and removed the screenshot as this is a public discussion forum.

The most common issue customers are experiencing related to authentication is due to the deprecation of GIT username/password in favour of App Passwords on 01/03/2022:
https://community.atlassian.com/t5/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231

I notice that you already have an App Password configured, however, you will need to include it when defining your remote URL's.


Essentially, when connecting via HTTPS you will use your App Password alongside your username separated with a ":" character.

Therefore if you are authenticating to *GIT over HTTPS* to push/pull you will need to update your remote URLs to include the App Password:


git remote set-url origin https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git

The same applies when performing git clone:


git clone https://USERNAME:APP_PASSWORD@bitbucket.org/workspaceID/reposlug.git

NOTE: You will need to replace USERNAME/APP_PASSWORD, workspaceID, reposlug above with the relevant values.


I would suggest ensuring also that all stored passwords related to authentication over GIT are cleared from your machine (ie Credential Manager for Windows, Access Keychain for Mac or /etc/shadow folder for Linux).

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events