Skip to content

UI Error Messages

UI Error Messages in Login and User Interface Issues.

4 min read Updated SS

UI Error Messages#

UI Error: "Application Not Found"#

In case of an 'Application Not Found' error on the UI, the following steps can help diagnose the problem:

1. Check the issues in Percona#

a. Percona Sync/Connectivity Issues: Investigate Percona logs for errors or indications of synchronization or connectivity issues.

i. Check the percona status:

nomad status percona

Expected Output:

ID            = percona
Name          = percona
Type          = service
Priority      = 50
Status        = running

Summary
Task Group     Queued  Starting  Running  Failed  Complete  Lost  Unknown
percona-node1  0       0         1        0       1         0     0
percona-node2  0       0         1        0       1         0     0

Latest Deployment
ID          = 2e5ae164
Status      = successful

ii. Collect the allocation ID and execute:

nomad status <percona allocation id>

Check the Description section for Exit codes. Refer Exit Codes.

iii. Monitor Percona logs in real time:

nomad logs -f <percona allocation ID>

iv. Check standard error logs:

nomad logs -f -stderr <percona allocation ID>

v. Check if you can connect to the database:

mysql -h <Percona IP> -u dbadmin -p'' -P<percona port>

2. Check OpenSearch Cluster Formation#

a. Check the status of all nodes in the OpenSearch cluster:

curl -XGET https://<OpenSearch IP:OpenSearch PORT>/_cat/nodes?v -u 'admin:admin' --insecure

Expected Output:

ip             heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
192.0.2.5          6        100   6    0.20    0.25     0.24  dimr      -      opensearch-node3
192.0.2.5          5         97   8    0.51    0.55     0.49  dimr      *      opensearch-node1
192.0.2.5          5        100   5    0.32    0.30     0.31  dimr      -      opensearch-node2

b. Check the OpenSearch cluster health status:

curl -ku admin:admin -XGET "https://<opensearch IP>:<opensearch port>/_cluster/health?pretty"

Note: The cluster status should be green.

c. Verify that all OpenSearch nodes are present in the cluster.

d. Check the status of the below services:

nomad status <service name>
  • HAProxy
  • Keycloak
  • Control Center
  • Redis microservice

3. Check the issues in Redis#

a. Login to Redis container:

i. Check the list of all the containers running:

docker ps

Expected Output:

CONTAINER ID    IMAGE       COMMAND                  CREATED       STATUS          PORTS                    NAMES
5ff5a4df7c07    redis       "docker-entrypoint.s..."  12 seconds ago  Up 11 seconds   0.0.0.0:6379->6379/tcp   local-redis

ii. Collect the container ID and execute:

docker exec -it <container ID> bash

b. Verify Redis cluster formation on all nodes:

redis-cli -c --tls --cert /etc/redis.crt --key /etc/redis.key --cacert /etc/appnomic-rootca.crt -h <REDIS_IP> -p <REDIS_PORT> -a '' cluster nodes

Note: Ensure to replace <Redis IP>, <Redis Port>, and <Redis Password> with the IP address, port, and password of your Redis instance, respectively.

Review the output to verify the correct formation of the master and slave.

c. Redis cluster not formed: If the Redis cluster is not formed, refer to Redis Cluster Formation Failure.

4. Check the issues in Redis Microservice#

a. Redis Microservice Status: Ensure that the Redis microservice is running properly:

i. Check the Redis microservice status:

nomad status heal-redis-microservice

The status should be running.

ii. Collect the allocation ID and execute:

nomad status <redis-microservice allocation id>

Examine the Recent Events section for any detected errors under Description.

iii. To check the list of logs:

nomad logs -f <redis-microservice allocation ID>

v. To check only the list of standard error logs:

nomad logs -f -stderr <redis-microservice allocation ID>

b. Errors in Redis Microservice Logs: Examine the Redis microservice logs on disk:

i. Login to the server where the Redis microservice is running.

a. Navigate to installation directory:

a1home

b. Navigate inside the centralized log:

cd centralized_logs/

c. To obtain heal-redis-microservice logs:

cd heal-redis-microservice/

d. List the logs:

ll

Inspect the log files for errors including redis-service.log, redis-service-core.log, and redis-service-stats.log.

5. User Privileges#

Check the user's privileges to ensure they have the required access. Insufficient privileges can result in an 'Application Not Found' error.

Percona: Execute the below query to obtain the list of the users:

select user_identifier,access_details from appsone.user_access_details where user_identifier in (select ID from appsonekeycloak.USER_ENTITY where USERNAME='<username>');

Expected Output:

+------------------------------------------+------------------------+
| user_identifier                          | access_details         |
+------------------------------------------+------------------------+
| 7640123a-fbde-4fe5-9812-581cd1e3a9c1     | {"accounts": ["*"]}    |
+------------------------------------------+------------------------+
1 row in set (0.00 sec)

In the above output, note the user identifier details.

In CC: Login to CC > Click on actions > Edit

CC Manage Users

The Edit User pop-up displays. The total number of applications present is listed in the 'Applications' section.

CC Edit User Dialog

6. Use Developer Tools and UI Service Log#

Developer tools can provide a wealth of information about what might be causing the error. Check the UI service log for any errors or warnings. By comparing the output from these two resources, you should be able to pinpoint the issue.

See Verify UI Accessibility and Response with Developer Tools.