Labeling failed org.eclipse.jgit.errors.TransportException 401 Unauthorized

Hello, 

I got a small issue with TeamCity.

When I  perform a build with TeamCity and want to label the repository I get the following error:

Failed to set label 'build-32' for build #32 {build id=32, buildTypeId=Example_Build}: jetbrains.buildServer.vcs.VcsException: Labeling failed: org.eclipse.jgit.errors.TransportException: https://******.com/**/example.git: 401 Unauthorized

 

My System:

Server: Debain 8.6 (running TeamCity)

TeamCity Professional 2017.1.4 (build 47070)

 

Git:

Gogs Version: 0.11.29.0727

 

I'm working as git root user and owner of the repository.

 

Does someone got an idea?

Thank you!

1
1 comment

Hi Tobias,

do you have any proxy server between the teamcity machine and the git repo? This seems to imply that might cause issues https://github.com/gogits/gogs/issues/2692

This one might indicate an issue on some actions with JGit (the git library TeamCity uses) https://github.com/gogits/gogs/issues/4531

I'll investigate a bit further, could you check, if you have a proxy, whether it's having issues handling those requests?

0

Please sign in to leave a comment.