On a Linux or Windows host with multiple IP addresses, a common issue may arise. During startup, the agents utilize a system call to obtain their resolvable IP address. This process resembles the system call employed by nslookup.
==================================================
20230616/132407.170 - TCP/IP-addr. : '192.0.2.1'
==================================================
In contrast to previous versions, in version 21, the Agent scans all available IPs and associates them with the listener port (U02000066 messages). However, an issue arises wherein the agent selects the first non-local IP from the list and transmits it as the IP Address to the AE system.
=================================================
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='127.0.0.1'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='::ffff:127.0.0.1'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='203.0.113.1'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='::ffff:203.0.113.1'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='192.0.2.1'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='::ffff:192.0.2.1'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='192.0.2.2'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='::ffff:192.0.2.2'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='192.0.2.3'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='::ffff:192.0.2.3'
20230616/143341.070 - U02000066 Host information: Host name='server_name', IP address='2001:db8:ffff:ffff'
=================================================
Consequence
If this IP address is not resolvable or not routable, the Automation Engine will not be able to communicate with this agent. File transfer will not be possible.
Release : 21.x
Component: Automation Engine
Sub-Component: Agents Windows and Unix/Linux
The issue has been confirmed to be a bug by our Dev team.
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Agents Windows and Unix/Linux
Bug ID: AE-32780
Bug Title: Linux with multiple IP-addresses: The new agent gets a wrong IP-address as UC_EX_IP_ADDR. Complete different behavior as in v10, v11, v12!
Bug ID: AE-32823
Bug Title: Windows Agent reports wrong IP address to Server
Bug ID: AE-33127 (only available on 21.0.8 and superior)
Bug Title: v21 Windows Agents wrong IP selection mechanism compared to v12