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

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,551,971
Community Members
 
Community Events
184
Community Groups

Could not read Password for 'https://xxxxx@bitbucket.org': terminal prompts disabled

I used bitbucket extension (latest) for visual studio 2017 (latest). Through extension in vs, I login to bitbucket successfully. Then I tried to clone a repo, it again prompts me for Atlasssian credentials. This time the user name is different than what I used to login to bitbucket. I simply use user name and password for bitbucket. Then I get following error:

 

Error encountered while cloning the remote repository: Git failed with a fatal error.
HttpRequestException encountered.
An error occurred while sending the request.
cannot spawn /c/program files (x86)/microsoft visual studio/2017/enterprise/common7/ide/commonextensions/microsoft/teamfoundation/team explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or directory
could not read Password for 'https://xxxxx@bitbucket.org': terminal prompts disabled

 

Can you help what is going on?

2 answers

1 accepted

10 votes
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 27, 2018

Hi Raghu, welcome to the Community! 

Based on the error message you posted, looks like this is a problem with Visual Studio. I found a solution in the Visual Studio forum, you could try this: 

1. Delete this folder (backing it up in case you need to restore it):

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git

2. Uninstall all versions of Git via Control Panel / Uninstall a program.

3. Run the Visual Studio 2017 installer and modify the install to remove Git For Windows.

4. Download the latest version of Git and install it.

5. Run the Visual Studio 2017 installer again and modify the install to add Git For Windows again.

Let us know if this worked for you!

Kind regards,

Ana

Ana, that worked for me. Thanks.

Worked for me too. Thanks

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 01, 2018

Glad to hear that :) 

Have a nice day,

Ana

That worked for me too, thanks a lot !

François

same error( tried looks like all solutions over the internet( come on.., 2018... i cannot push my code(((

Thank you! It worked for me.

Thanks Ana, worked for me too!

1) Select Team Explorer

2) Choose Open Command Prompt in Action DropDown Box

3) then  type Git push command (eg : git push -u origin master)

4) it will prompt for git repository password, type password there

5) enter

Enjoy ;)

Like # people like this

Thanks, that worked for me too!

Worked for Visual Studio 2019 too. Thank you :)

That worked for me too, thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events