Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure DevOps GVFS Error #1758

Open
janmejay-hub opened this issue Oct 27, 2021 · 0 comments
Open

Azure DevOps GVFS Error #1758

janmejay-hub opened this issue Oct 27, 2021 · 0 comments

Comments

@janmejay-hub
Copy link

janmejay-hub commented Oct 27, 2021

Hello VFS Team,

I have configured central Proxy Server for Azure DevOps Server on-premises to consume as GVFS proxy by adding the Repository using below command:
TFSConfig Proxy /add /Collection:https://xxxxxxxxxxxxxxxxxxxxxxxxx/tfs/xxxxxxxxxxx /inputs:GvfsProjectName=Proj1;GvfsRepositoryName=Repo1

And tried to clone from client using GVFS command like below example

gvfs clone https://AzureDevOpsServer/_git/Repo1 --cache-server-url=https://xxxxxxxxxxxxxxxxxxxxxxxxx/repoid1
replacing the VSTS clone url, the cache server address, and the repository id in the cache-server-url as appropriate.

But I am getting following error:

NetworkError {"Area":"GitObjects","Exception":"GVFS.Common.Http.GitObjectsHttpException: Server returned error code 400 (BadRequest). Your PAT may be expired and we are asking for a new one. Original error message from server: A valid Basic Authorization header is required.","Operation":"DownloadAndSaveObjects","WillRetry":false,"ErrorMessage":"GVFS.Common.Http.GitObjectsHttpException: Server returned error code 400 (BadRequest). Your PAT may be expired and we are asking for a new one. Original error message from server: A valid Basic Authorization header is required."}
[2021-09-29 13:28:30.4459 +05:30] Error {"ErrorMessage":"Could not download commit cbb7e0b333b8a6d1745f8ec36cdd612ba430bf69 from: http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:8082/repoid/gvfs/objects"}
GVFSClone (Stop) {"DurationMs":8131}

Curious to learn if i am missing any configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant