I have installed teamcity on my server and it resides in a docker container. I have 4 Windows servers running the Build Agents services. However, it seems the teamcity server cannot see the agent after starting a build. I can't find anything in docker logs or in teamcity logs. The agent logs literally show
[2019-07-29 16:30:16,055] INFO - r.agent.impl.AgentLogProxyImpl - Failed to perform remote command 'pingAndReregister' for build with id 174629, error: java.lang.Exception: Unable to register on server, not pingable: java.lang.Exception: Unable to register on server, not pingable (enable debug to see stacktrace) [2019-07-29 16:30:17,089]
WARN - jetbrains.buildServer.AGENT - Ping problem: jetbrains.buildServer.xmlrpc.RemoteCallException: Call 'url', method 'buildServer.ping' failed: java.net.ConnectException: Connection refused: connect
The agents re-connect after a little while but then disconnect again once a build commences.
This just started happening recently, it was fine 2 weeks ago.. anyone else seen this issue?