I run RFA Java consumer application on a new RHEL machine but it cannot connect to EZD host
10.201.22.45 on port 14002. From the RFA log file, it shows the error that
“RSSL Connection failed for 10.201.22.45: RHEL: RHEL: Temporary failure in name resolution.”
What is it? Does RFA support IP Address in the serverList configuration or the host name should be used instead?
The error “Temporary failure in name resolution.” occurs when underlying Java tries to resolve the IP Address of EZD server in the serverList configuration back to the host name and this failed. Even you change the IP Address in the serverList configuration to the host name, the error still occurs because Java cannot resolve the hostname back to the IP Address as well.
To solve the problem, you need to add <the server IP> <the server host name> to /etc/hosts on the machine running RFA Java application. For example:
This will make Java can resolve the IP Address back to the server and vise versa.
In addition, RFA Java supports both IP Address and host name in serverList configuration as explained in section 3.2.1 RSSL Connection of RFAJ_ConfigLoggingGuide.pdf shown below: