VisualStudio icon indicating copy to clipboard operation
VisualStudio copied to clipboard

No such file or directory could not read Password for ''

Open Kunze opened this issue 6 years ago • 13 comments

  • GitHub Extension for Visual Studio version: 2.5.4.3349
  • Visual Studio version: 15.8.0

When I try to use any git function in vs I receive this error:

cannot spawn /c/program files (x86)/microsoft visual studio/2017/community/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://[email protected]': terminal prompts disabled

It starts to happen every time I update VS (it happened for the last 3 updates).

Kunze avatar Aug 15 '18 13:08 Kunze

Hi @Kunze I'm not exactly sure why you're getting that error, but this Stack Overflow post has some suggestions which include updating Git for Windows, and removing your git credentials in the Windows Credential Manager.

Check out this post: https://stackoverflow.com/questions/51728362/cant-pull-fetch-using-vs-team-explorerbitbucket-git/51729662#51729662

Let me know if the solution mentioned works or not.

meaghanlewis avatar Aug 15 '18 22:08 meaghanlewis

This has happened to me as well the last 2 VS updates (I'm using bitbucket)

jvillaro avatar Aug 25 '18 04:08 jvillaro

I have this problem too... git by bitbucket.org

funwaywang avatar Aug 27 '18 01:08 funwaywang

Same problem, also using BitBucket. This problem is now fixed for me. I'm using the released version of Visual Studio 15.8.2

Rory-Walsh avatar Aug 28 '18 05:08 Rory-Walsh

Problem still exists in 15.8.4

BrilliantTechie avatar Sep 16 '18 13:09 BrilliantTechie

upgrading to 15.9.0 fixed the problem for me.

savagepanda avatar Nov 14 '18 01:11 savagepanda

Currently having this issue with Visual Studio Version 15.9.3

Box-Of-Hats avatar Dec 10 '18 11:12 Box-Of-Hats

This looks to be a problem with Visual Studio itself rather than with the GitHub for Visual Studio extension. @kaylangan @clboles @jeremyepling any ideas?

grokys avatar Dec 10 '18 12:12 grokys

I had the same issue. Updating Visual Studio to v15.9.4 fixed it for me.

Rostech avatar Dec 17 '18 07:12 Rostech

In my case the issue was a weak password... Apparently, login from visual studio with weak password is not allowed anymore. I found it out by installing GitHub Extension for Visual Studio, then, i received the correct error message. Once i have updated the password everything works fine.

yosigolan avatar Dec 03 '19 08:12 yosigolan

upgrading to 15.9.0 fixed the problem for me. and git version 2.25.0.windows.1

pat12345 avatar Jan 20 '20 18:01 pat12345

I have the same problem , I have updated visual studio and git etc.. I do still get this error . I think the problem is the .gpgun , does anyone knows how to change the directory in gpg ?

rob88 avatar Apr 10 '20 10:04 rob88

This happened to me using VS Code, and solved it by updating the VS Code to the latest version.

hyungjunk avatar Mar 15 '21 01:03 hyungjunk