-
Notifications
You must be signed in to change notification settings - Fork 459
Description
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