This article will describe how to change the OUTBOUND_CONNECT_TIMEOUT value in the agent.properties file.
This agent-specific property may need to be adjusted if your CloudBees CD (CloudBees Flow) agents encounter job timeouts.
Solution
-
The
agent.propertiesfile can be located in-
Windows:
\conf\agent\agent.properties -
Linux:
/conf/agent/agent.properties
-
-
Open the
agent.propertiesfile in a text editor -
Locate the
OUTBOUND_CONNECT_TIMEOUTproperty. Default value:# Timeout for establishing outbound connections, in milliseconds OUTBOUND_CONNECT_TIMEOUT=30000
-
Increase the value of
OUTBOUND_CONNECT_TIMEOUT# Timeout for establishing outbound connections, in milliseconds OUTBOUND_CONNECT_TIMEOUT=180000
-
Save the
agent.propertiesfile. -
Restart the agent service to apply changes.
-
You can continue to modify this value to find the optimal value for your agents' operations.
| If you set this value to 0, the agent will not timeout. |
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.