SAP connector fails with hostname not found when using a non-default port in RSA Identity Governance & Lifecycle
2 years ago
Originally Published: 2019-09-20
Article Number
000041626
Applies To
RSA Product Set: Identity Governance & Lifecycle
RSA Version/Condition: All
 
Issue
When attempting to define a SAP connector on a non-default port as in the example below, the test of the connector fails with:
GetHostByName: '10.100.99.99:3301' not found SYSTEM CALL getaddrinfo

The Connection Details used in this example are:
 
User-added image

A test connection using the default SAP port of 3300 is successful:

User-added image
Cause
RSA Identity Governance & Lifecycle interprets the contents of the Host field in the SAP connector definition (AFX > Connectors > Create Connector > Connector Template: SAP > Settings tab > Connection Details > Host) as a Hostname, not as a Hostname:Port number.

In the example above, RSA Identity Governance & Lifecycle is converting the entire string 10.100.99.99:3301 as a Hostname to an IP address.
 
Resolution
To use a non-default port to connect to a SAP datasource via a SAP AFX connector, use the following format in the Host field of the Connection Details:
 
/H/hostname/S/port

For example,
 
User-added image