Switching to Unidirectional agent to server communication after upgrade
Hi
My system has a server with 5 remote agents. I shut down all agent machines, upgraded TeamCity server from 9.0.4 to 9.1, and started the first agent. It upgraded automatically and connected successfully, but the connection type shows as bidirectional even though the documentation states that the default connection type in 9.1 is unidirectional. Is there some action I need to take to get the agent to use a unidirectional connnection instead of bidirectional?
Thanks
Rami
Please sign in to leave a comment.
Hi Rami,
In TeamCity 9.1 we left bidirectional connection by default. To change it set internal property:
teamcity.agent.communicationProtocols= polling,xml-rpc
For more details please see: https://confluence.jetbrains.com/display/TCD9/Setting+up+and+Running+Additional+Build+Agents#SettingupandRunningAdditionalBuildAgents-UnidirectionalAgenttoServerCommunication
> though the documentation states that the default connection type in 9.1 is unidirectional
Could you please provide a link so we can fix it?
Following up on this, is unidirectional going to be the recommended setting going forward?
We have have no network restrictions, but should we switch to unidirectional anyway?
Thanks
Hi Bad,
Yes, unidirectional communication is recommended one. It'll be a default protocol in the future. Please switch to polling. Your feedback is highly appreciated.