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,300,030
Community Members
 
Community Events
165
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 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 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
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,255 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