microsoft / microsoft/VFSForGit

Need a better error message for http vs https

Open
#592 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

affects: polish type: bug
Dominant language
C#
Stars
6.1k
Forks
474
Avg merge
2d 4h
Merged PRs (30d)
8

Description

A user accidentally cloned their repo using "http" instead of "https" in the URL, and the experience was just a report that it couldn't query /gvfs/config:

Querying remote for config...Failed
Unable to query /gvfs/config

And the clone log complained about 401 errors and PAT regenerations and... nothing that led to the clue that it was just the wrong URL. Need to improve this UX by generating a better error message in this case.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by tracing the /gvfs/config query and clone error handling for authentication failures caused by an http remote URL. Done means this case produces an explanatory message that points to using https instead of only reporting the failed query and 401 errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.