Check the UI Logs For Errors
Check the UI Logs For Errors in Unable to Access UI.
Check the UI Logs For Errors#
Use the following procedure to examine UI logs and identify potential errors that could be contributing to access issues.
1. Navigate to the directory, by executing the command:
a1home
Expected Output:
[root@localhost ~]# a1home
[root@localhost heal]#
Note: Ensure the "a1home" directory exists in the current location. If it is located elsewhere, provide the full path.
2. Navigate to the respective directories logs, by executing the below command:
cd <service log path>/centralized_logs/<service name>
For Example:
cd /opt/Heal/centralized_logs/198.51.100.2_UISERVICE_1
Expected Output:
total 507308
-rw-r--r--. 1 sheal 52472191 Jul 31 18:02 heal-ui-service.1.log
-rw-r--r--. 1 sheal 52830813 Jul 31 12:23 heal-ui-service.2.log
-rw-r--r--. 1 sheal 52552599 Jul 28 11:35 heal-ui-service.3.log
-rw-r--r--. 1 sheal 52596521 Jul 21 18:27 heal-ui-service.4.log
-rw-r--r--. 1 sheal 52494646 Jul 12 10:43 heal-ui-service-core.1.log
-rw-r--r--. 1 sheal 52529698 Jul 12 06:33 heal-ui-service-core.2.log
-rw-r--r--. 1 sheal 52459594 Jul 12 02:23 heal-ui-service-core.3.log
-rw-r--r--. 1 sheal 52459422 Jul 11 22:13 heal-ui-service-core.4.log
-rw-r--r--. 1 sheal 10643649 Aug 1 10:57 heal-ui-service-core.log
-rw-r--r--. 1 sheal 12505251 Aug 1 10:57 heal-ui-service.log
-rw-r--r--. 1 sheal 52429138 Jul 22 13:39 heal-ui-service-stats.1.log
-rw-r--r--. 1 sheal 22996037 Aug 1 15:02 heal-ui-service-stats.log
The above output allows you to explore the UI logs and identify any potential errors affecting the system's accessibility through the error messages.
Desktop Port Access Confirmation for HEAL UI#
Confirm whether your desktop has the necessary port access for the HEAL UI in the host file.
Procedure: On your Windows system, follow as below.
1. Check if the UI service has a good connection, by the below process in windows command prompt:
i. Open windows command prompt:
a. Click windows key and r key (windows + r).
b. Run pop-up appears. Enter cmd and click Ok.

c. The below prompt page appears:

ii. In the windows command prompt, input the following command:
Ping <domain name>
For Example:
Ping google.com
Successful Output:
Pinging google.com [203.0.113.2] with 32 bytes of data:
Reply from 203.0.113.2: bytes=32 time=14ms TTL=60
Reply from 203.0.113.2: bytes=32 time=12ms TTL=60
Reply from 203.0.113.2: bytes=32 time=10ms TTL=60
Reply from 203.0.113.2: bytes=32 time=24ms TTL=60
Ping statistics for 203.0.113.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 10ms, Maximum = 24ms, Average = 15ms
Error Output:
Ping request could not find host xyz. Please check the name and try again.
If the 'ping' command is successful, it indicates that the connection is functioning correctly, and there is no requirement to modify the host file.
iii. Alternate method, enter the below command:
telnet <service IP> <service port>
For Example:
telnet 192.0.2.3 8448
Successful: If the output is successful, a blank page appears.
Error Output:
Connecting To 203.0.113.63...Could not open connection to the host, on port 8448: Connect failed
2. Add the Domain name in the host file:
i. Navigate to the host's file in the following path:
C:\Windows\System32\drivers\etc
ii. Verify in the host file, whether your HEAL UI entries are enabled or not. If the port access to HEAL UI is disabled, then enable it by adding an entry that maps the UI's IP address to the desired domain name at the end of the file:
<IP> <domain name>
For example:
198.51.100.3 heal.example
203.0.113.3 keycloak.example
Note: Be aware that modifying the host's file on Windows may require administrative privileges. If the user prefers not to add the entry in the host file, an alternative is to add it at the administrative level.
3. Execute the below command to obtain the service IP details in windows command prompt:
tracert <DNS name>
For Example:
tracert google.com
Expected output:
Tracing route to google.com [203.0.113.2]
URL Access Verification with IP/Host/DNS#
To ensure the uninterrupted operation of your services, it is crucial to verify the accessibility of your UI URL. The following guide details the steps required to check the connectivity of HEAL UI and CC UI.
URL's:
- HEAL UI:
https://<haproxy_IP>:<haproxy_Port>/heal-ui-service/ - CC UI:
https://<haproxy_IP>:<haproxy_Port>/heal-controlcenter/
Procedure : Follow the below steps to verify URL access:
1. Verify keycloak Server Connection by executing either of below two commands.
i. Using keycloak.example Domain Name:
telnet <keycloak.example> <Keycloak Port>
For Example:
telnet keycloak.example 8443
Successful connection:
Trying <keycloak.example>...
Connected to <keycloak.example>.
Escape character is '^]'.
- Connection denied: This indicates that the connection to the Keycloak server was refused, which means that the Keycloak server is not running or not accessible to the specified server.
Trying <keycloak.example>...
telnet: Unable to connect to remote host: Connection refused
Session Timeout: This indicates the connection to the Keycloak server could not be established. It could be due to the server not running, the server being unreachable, or a firewall blocking the connection.
Trying <keycloak.example>...
telnet: Unable to connect to remote host: Connection timed out
or
ii. Using keycloak IP:
telnet <Keycloak IP> <Keycloak Port>
For example:
telnet 192.0.2.2 8443
Expected Output :
- Successful connection:
Trying 203.0.113.63...
Connected to 203.0.113.63.Escape character is '^]'.^CConnection
closed by foreign host.
- Connection denied: This indicates that the connection to the Keycloak server was refused, which means that the Keycloak server is not running or not accessible at the specified IP and port.
Trying 203.0.113.63...
telnet: connect to address 192.0.2.2: Connection refused
Session Timeout: This indicates that the connection attempt timed out, which could mean that there is a network issue or the Keycloak server is not reachable.
Trying 203.0.113.63...
telnet: connect to address 192.0.2.2: Connection timed out
2. Verify Keycloak Connection Behind HAProxy, by using either of below two commands:
i. Using haproxy.example Domain Name:
telnet <haproxy.example> <HAProxy port>
For Example:
telnet haproxy.example 8448
Expected Output:
- Successful connection:
Trying <haproxy.example>...
Connected to <haproxy.example>.
Escape character is '^]'.
- Connection denied: This indicates that the connection to the Keycloak server was refused, which means that the Keycloak server is not running or not accessible to the specified server.
Trying <haproxy.example>...
telnet: Unable to connect to remote host: Connection refused
- Session Timeout: This indicates the connection to the Keycloak server could not be established. It could be due to the server not running, the server being unreachable, or a firewall blocking the connection.
Trying <haproxy.example>...
telnet: Unable to connect to remote host: Connection timed out
Or
ii. Using HAProxy IP:
telnet <HAProxy IP> <HAProxy port>
For Example:
telnet 192.0.2.4 8448
Expected Output:
- Successful connection:
Trying 203.0.113.64...
Connected to 203.0.113.64.Escape character is '^]'.
^CConnection closed by foreign host.
- Connection denied: This indicates that the connection to the Keycloak server was refused, which means that the Keycloak server is not running or not accessible at the specified IP and port.
Trying 203.0.113.64...
telnet: connect to address 192.0.2.4: Connection refused
- Session Timeout: This indicates that the connection attempt timed out, which could mean that there is a network issue or the Keycloak server is not reachable.
Trying 203.0.113.64...
telnet: connect to address 192.0.2.4: Connection timed out
3. Alternative Method If Telnet is Not Available:
echo "" > /dev/tcp/<keycloak.example>/<keycloak port>
For Example:
echo "" > /dev/tcp/keycloak.example/8443
Successful connection: No output displayed.
Connection denied:
-bash: connect: Connection refused
-bash: /dev/tcp/192.0.2.35/8448: Connection refused
Note: Ensure to replace the placeholders <keycloak.example>, <Keycloak Port>, <Keycloak IP>, <haproxy.example>, <HAProxy port>, and <HAProxy IP> with the actual values in your environment.