AWI logon failure on version 24 - No connection to CPs established (Automic Automation)
search cancel

AWI logon failure on version 24 - No connection to CPs established (Automic Automation)

book

Article ID: 438223

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine Automic Automation

Issue/Introduction

Users are unable to log in to the Automic Web Interface (AWI). The system displays an error indicating that connections to the Communication Processes (CPs) cannot be established. This often requires a restart of the Java Communication Process (JCP) to restore service.

Symptoms:

  • Error displayed in AWI: Connection to the AE system not possible. No connection to the following CPs could be established: [Hostname]:[Port]
  • Error displayed in AWI: No connection to the following CPs could be established. make sure that the system meets the minimum requirement for processes and that it uses WS.PORT to establish the connection.
  • JCP logs contain: U00003438 Error in connection 'Connection *CP001#####'. 'java.util.concurrent.TimeoutException' function: Error 'Idle timeout expired: 60000/60000 ms'
  • JCP logs contain: U00003407 Client connection '*CP001#####' from '####:####' has logged off from the Server.

Environment

  • Automic Automation 24.4.3
  • Automic Web Interface (AWI)

Cause

A defect (DE182534) in the JavaAPI WebSocket implementation causes the JCP to incorrectly maintain an old connection ID. When the AWI attempts to reconnect, the JCP flags the request as a duplicate (U00045419) and suspends the new connection.

Resolution

This issue is fixed in Automic Automation release 24.4.4+HF1 and higher (Note: both the Automation Engine and AWI must be updated)

 

Workaround

If an immediate upgrade is not possible, follow these steps to adjust TCP keepalive settings to prevent connection hangs.

Step 1:

Modify the /etc/sysctl.conf file to adjust the TCP keepalive settings.

Note: Tomcat or the Jetty AWI might only reside on one compute node (e.g., compute 2), but these settings must be applied to both servers because the AWI connects to the JCP across both.

Add the following lines to /etc/sysctl.conf:

net.ipv4.tcp_keepalive_time = 60

net.ipv4.tcp_keepalive_intvl = 10

net.ipv4.tcp_keepalive_probes = 3

 

Step 2: Restart Services

For the changes in /etc/sysctl.conf to take effect, a restart is required.

  • Preferred Method: Restart the server or Tomcat/Jetty AWI.

 

Temporary/Immediate Workaround: If you are unable to apply the configuration changes and do a full restart immediately, you can temporarily resolve the outage by manually restarting Tomcat/Jetty AWI (kill the AWI process and start it once again).