Hello! I've using Windows 7 and Visual Studio 15.7.6. When i try to clone repo from bitbucket, i get a following error:
Git failed with a fatal error.
HttpRequestException encountered.
�ந��諠 �訡�� �� ��ࠢ�� �����.
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://avansoft@bitbucket.org': terminal prompts disabled
But when i try it with VS 14.0, i haven't this problem. Result of the command git config --list --show-origin:
file:"C:\\ProgramData/Git/config" core.symlinks=false
file:"C:\\ProgramData/Git/config" core.autocrlf=true
file:"C:\\ProgramData/Git/config" core.fscache=true
file:"C:\\ProgramData/Git/config" color.diff=auto
file:"C:\\ProgramData/Git/config" color.status=auto
file:"C:\\ProgramData/Git/config" color.branch=auto
file:"C:\\ProgramData/Git/config" color.interactive=true
file:"C:\\ProgramData/Git/config" help.format=html
file:"C:\\ProgramData/Git/config" rebase.autosquash=true
file:C:/Program Files/Git/mingw64/etc/gitconfig http.sslcainfo=C:/Program Files/
Git/mingw64/ssl/certs/ca-bundle.crt
file:C:/Program Files/Git/mingw64/etc/gitconfig http.sslbackend=openssl
file:C:/Program Files/Git/mingw64/etc/gitconfig diff.astextplain.textconv=astext
plain
file:C:/Program Files/Git/mingw64/etc/gitconfig filter.lfs.clean=git-lfs clean -
- %f
file:C:/Program Files/Git/mingw64/etc/gitconfig filter.lfs.smudge=git-lfs smudge
-- %f
file:C:/Program Files/Git/mingw64/etc/gitconfig filter.lfs.process=git-lfs filte
r-process
file:C:/Program Files/Git/mingw64/etc/gitconfig filter.lfs.required=true
file:C:/Program Files/Git/mingw64/etc/gitconfig credential.helper=manager
file:C:/Users/Roma/.gitconfig user.name=xxxxxx
file:C:/Users/Roma/.gitconfig user.email=xxx@xxxxx.xx
My task on VS Community https://developercommunity.visualstudio.com/content/problem/307210/cannot-clone-git-repository.html
Thank you for your answer!
Do you mean a Visual Studio comand prompt? Unfortunately, i don't know how i can to clone repository through it.
Yes, i did check credentials, it's ok. When i use it with VS 14.0 i haven't problem.
The screenshot with error:
Hi Roman, welcome to the Community!
In your case, since it fails with one version of VS but not with the other one, looks like this might be related to VS itself. Can you give us some more info to troubleshoot this issue?
Let us know!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ana Retamal, when i try to cloning the repository through command line directly, i get an error (translated from russian): "The specified argument is out of range of values. Parametr name: resultType"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.