Error while transferring cached patch
Environment
+ TeamCity 2017.2.3 (build 51047)
+ Linux CentOS (Server)
+ Windows 10 (build agent)
+ Java openjdk version "1.8.0_151"
Problem
The following error occurs while copping a patch from the the (Linux) Server to the (Windows) Agent. (server side checkout)
patch file: /home/teamcity/BuildServer/system/caches/sources/a86225acd93b137d.cache, size: 1.36 GB
jetbrains.buildServer.VCS - Error while transferring cached patch for root {"git@github.com..."} from file '/home/teamcity/BuildServer/system/caches/sources/a86225acd93b137d.cache': org.apache.catalina.connector.ClientAbortException: java.net.SocketTimeoutException
jetbrains.buildServer.VCS - Failed to build patch for build #27 {"git@github.com.."}, due to error: Error while transferring cached patch
I think the solution may be to increase the timeout because this build used to work when the project was smaller.
Thanks in advance.
Please sign in to leave a comment.
Hi Dawir,
I'm going to pass this along for investigation, but I'd like to ask first. I'm assuming you are using server-side checkout, is this correct? If so, what is the reasoning for using it before agent-side?
Hi Denis, Thanks for your help.
We're indeed using server-side checkout. The reason why we're not using agent-side is because we've multiple agents for different systems and didn't want to configure them all for our git repo (and also to avoid each agent checking out the same code).