Failed to collect changes, error: List remote refs failed: org.eclipse.jgit.errors.TransportException:

Completed

Hello, everyone! In my TeamCity CI I get the following bug in all builds -

Failed to collect changes, error: List remote refs failed: org.eclipse.jgit.errors.TransportException: https://bitbucket.org/: git-upload-pack not permitted on 'https://bitbucket.org/'

 

I've already faced a similar problem on this server before and was helped by replacing OpenJDK-8 with OracleJDK-13. But now the problem is repeated :(

 

 

0
1 comment

Hi, and sorry for the delay. Is the issue still happening?

 

It's unlikely that replacing OpenJDK 8 with Oracle 13 did the change: Java 13 is not supported by TeamCity at all, and the services would not start at all, unless you manually modified the startup scripts to allow for it. It's possible that it was a coincidence or a side issue.

 

The error you are experiencing is a rather generic issue with git. Typically means that the user connecting does not have permissions to access the repository, but might also be due to a network connectivity issue, due to access restrictions or to a temporary outage. If the issue can consistently be replicated, permissions are correct on the remote server and nothing else has changed in the network, it might also be due to a corrupted local cache. Clearing the local git cache can be done in the web UI, via Administration - Diagnostics - Caches, or by accessing the <data directory>/system/caches and clearing the specific repositories manually.

0

Please sign in to leave a comment.