NSK agent take long to connect and connects with wrong CP port
Error message in the logs
U02000011 Connection to Server 'AEservername:port' initiated.
AWAITIO-Error: 4127 on AEservername:port
Component : Automation Engine
Release : 21.X
Component : NSK agent
Build: 11 and higher
This is caused by misconfiguration in UCXJNS1I file
1. Remove the IP address in the port= parameter. Enter only the port number the NSK agent is using.
Example:
format: port=port number
2. Ensure the cp= parameter is pointing to the correct IP address or fully-qualified domain name of the server where the Automation Engine is installed. In this case, it was referencing the wrong IP address.
Example:
format: cp=AEservername:cp1port