TeamCity not using VCS credentials resulting in duplicate requests

Hi all,

As the title says, for every build configuration I have, TeamCity makes 2 requests to <repo>.git/info/refs?service=git-upload-pack.

The first one fails with http code 401 because no credentials are sent, and only then it sends a second request using the credentials as configured in the vcs settings.

I've searched for answers before posting here but no luck. And I doubt this is normal behaviour. Any help or explanation regarding this would be appreciated.


Please sign in to leave a comment.