search cancel

Agent unable to establish an outbound network connection - address already in use

book

Article ID: 134182

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Workload Automation AE

Issue/Introduction

Users see the following in the the agent's transmitter.log:

07/02/2019 20:32:25.476 EDT-0400 5 TCP/IP Controller Plugin.Transmitter pool thread <Slow:1>.CybTargetHandlerChannelLogHelper.logConnectionAttempt[:75] 
- Attempting to open conversation to [email protected]:9485 using plain socket
07/02/2019 20:32:25.486 EDT-0400 1 TCP/IP Controller Plugin.Transmitter pool thread <Slow:1>.CybTargetHandlerChannel.constructConversation[:1198] -
Error connecting to ACE_SCH: cybermation.library.communications.CybConversationConnectBindException: Address already in use

 

Would that cause the agent to not be able to get an outbound connection?

Is there a way to alter which outbound ports the agent attempts to use?

Cause

Depending on the OS, the agent (or any other service) will use the available Ephemeral ports to connect to outgoing connections.  If the OS is out of dynamic ports then local processes / services will not be able to make outgoing connections.

Environment

Release : Any

Component : CA Workload Automation System Agent

OS: Any

Resolution

Check OS for port range.  Each has it's own defined range. 

E.g. This command will show Linux range:

cat /proc/sys/net/ipv4/ip_local_port_range 

32768 60999

Windows:

netsh int ipv4 show dynamicport tcp

Protocol tcp Dynamic Port Range
---------------------------------
Start Port      : 49152
Number of Ports : 16384

Use netstat -an command to see how many ports are being used.  If the list is very long and shows lots of TIME_WAIT, then consult System and Network Administrator to investigate this further.