Summary
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.properties
file can be located in- Windows:
\conf\agent\agent.properties
- Linux:
/conf/agent/agent.properties
- Windows:
-
Open the
agent.properties
file in a text editor -
Locate the
OUTBOUND_CONNECT_TIMEOUT
property. 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.properties
file. - Restart the agent service to apply changes.
- You can continue to modify this value to find the optimal value for your agents’ operations.
Note: If you set this value to 0, the agent will not timeout.
0 Comments