microsoft / microsoft/VFSForGit
Cannot clone because authentication failed
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 474
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 8
Description
I'm trying to clone an Azure repo and I'm getting the following error
Clone parameters:
Repo URL: https://redacted.visualstudio.com/redacted/_git/redacted
Branch: Default
Cache Server: Default
Local Cache: C:\.gvfsCache
Destination: C:\Users\redacted\Source\Repos\redacted
Authenticating...Failed. Run 'gvfs log C:\Users\redacted\Source\Repos\redacted' for more info.
Cannot clone because authentication failed: fatal: HttpRequestException encountered.
An error occurred while sending the request.
fatal: could not read Username for 'https://redacted.visualstudio.com': terminal prompts disabled
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported Azure repository clone flow and run gvfs log C:\Users\redacted\Source\Repos\redacted to inspect the authentication failure. Trace the VFSForGit authentication path for the HttpRequestException and disabled terminal prompt, then verify that cloning the reported URL succeeds without requiring an interactive username prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, git
- Domain
- authentication, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100