Git VCS Fail 'git-upload-pack' after Git User added to Organisation

Hi,

 

To comply with company security measures, a GitHub User that was previously an external collaborator has now been added as a member of an Organisation and internal collaborator on various repos. An additional email address has been added, but no password changes have been made.

 

Since we have done this all of the VCS roots for repos owned by this Organisation have started failing with the error 

"List remote refs failed: org.eclipse.jgit.errors.TransportException: <repo url> git-upload-pack not permitted"

 

We have validated that the User is able to connect to repos, fetch, and pull, so it is not a permissions issue.

 

Can anyone shed any light on why giving more access to this User has stopped the VCS roots from connecting?

1
2 comments

Hi Fiona,

 

that's pretty strange, I'd like to ask you to enable debug-vcs on "Administration - Diagnostics", attempt a connection to the repositories, disable the debug-vcs, then collect the teamcity-vcs.log and teamcity-server.log and forward both of them to us via the Submit a request button above.

 

If nothing else on teamcity's side, and on the server only the user has changed, it would seem like it's something on the remote end (github) leading to the issue, but we can try to figure out whether something is going on on teamcity's end.

0
Avatar
Permanently deleted user

The same problem occurs when connecting to Amazon CodeCommit

0

Please sign in to leave a comment.