We've run into an issue when attempting to create a git-builder for our R packages on our private repository. We are able to clone the repo with a "git clone" command and the relevant credentials, but when we attempt to create a git-builder for this same URL and the same credentials, it returns the following error:
Error: error cloning: error with git.PlainClone: unexpected client error: unexpected requesting " https://dev.azure.com/something/something/_git/something/git-upload-pack" status code:400
We have imported the HTTPS credentials and verified that those credentials work when doing a simple git clone. We are running behind a proxy, but as I said, we can clone the git repo in question and the package manager is synced to other repositories such as CRAN. We've verified that the PAT is full-scope and we've tried setting AllowUnsandboxedGitBuilds = true per another thread for a similar issue.
For clarity, we can successfully clone:
But receive the status code: 400 error when git-builder tries:
And it seems to be automatically adding git-upload-pack to the end of whatever URL we specify for the git-builder.