VCS check for changes hangs/fails on one branch in git repository


Suddenly TeamCity started to hang/time-out when checking for changes in one of our branches in a git repository. Other branches on the same repository still works. We have been using server-side checkout, but also tried client-side with no effect.

I am not aware of any changes to our settings that could have caused this.

Error message shown:

Failed to collect changes, error: Error collecting changes for VCS repository '"Git - VIS-Released Projects (1)" {instance id=2651, parent internal id=15, parent id=Git___Vis_Released_Projects1, description: ""}'
'git fetch' command failed (repository dir: <TeamCity data dir>/system/caches/git/git-A8A5F86E.git).
exception: Timeout exception: the process did not produce output longer than 1800 seconds; Process: d:\TeamCity\jre\bin\java -Xmx1200M -cp D:/TeamCity/webapps/ROOT/WEB-INF/plugins/.unpacked/jetbrains.git/server/httpclient-4.5.6.jar;D:/TeamCity/webapps/ROOT/WEB-INF/lib/trove4j.jar;D:/TeamCity/webapps/ROOT/WEB-INF/lib/server-api.jar;D:/TeamCity/webapps/ROOT/WEB-INF/plugins/.unpacked/jetbrains.git/server/JavaEWAH-1.1.6.jar;D:/TeamCity/webapps/ROOT/WEB-INF/plugins/.unpacked/jetbrains.git/server/org.eclipse.jgit-;D:/TeamCity/webapps/ROOT/WEB-INF/plugins/.unpacked/jetbrains.git/server/org.eclipse.jgit.http.apache-


Comment actions Permalink

Is there a way to reset (new clone) the repository in the TeamCity server. The repository seems to work fine on other computers.


Please sign in to leave a comment.