我在使用 teamcity 上的本地构建代理时遇到问题 - 它无法在服务器上注册。远程代理注册成功。这是代理日志,服务器日志对此一无所知。
[2013-09-23 12:20:43,739] INFO - buildServer.AGENT.registration - Registering on server http://localhost, AgentDetails{Name='name', AgentId=null, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.56.1, 10.55.72.133], Port=9090, Version='27540', PluginsVersion='27540-md5-2b35d17be053845ad7c8e61930f772f0', AvailableRunners=[Ant, dotnet-tools-dupfinder, dotnet-tools-inspectcode, Duplicator, FxCop, gradle-runner, Inspection, Ipr, jb.nuget.installer, jb.nuget.pack, jb.nuget.publish, jetbrains.dotNetGenericRunner, jetbrains.mspec, jetbrains_powershell, JPS, Maven2, MSBuild, MSTest, NAnt, NUnit, rake-runner, simpleRunner, sln2003, VS.Solution], AvailableVcs=[perforce, mercurial, jetbrains.git, tfs, svn, cvs], AuthorizationToken=''}
[2013-09-23 12:20:47,796] WARN - buildServer.AGENT.registration - Call http://localhost/RPC2 buildServer.registerAgent3: java.net.SocketException: Connection reset
[2013-09-23 12:20:47,797] WARN - buildServer.AGENT.registration - Connection to TeamCity server is probably lost. Will be trying to restore it. Take a look at logs/teamcity-agent.log for details (unless you're using custom logging).
事件查看器日志中没有相关条目。
teamcity 代理使用与服务器相同的 Java 版本。