SSL Connection Errors
SSL Connection Errors in CA Operational Issues.
1. Certificate validation: validate SSL exceptions in the Component Agent logs. Ensure certificates are imported into the trust store used by Java and the Component Agent.
2. SSL commands usage: verify imported certificates using OpenSSL commands. Refer to a reputable OpenSSL commands cheat sheet (for example, the SSLShopper or The SSL Store references).
3. Java version check: check for the availability of the latest Java version, ensuring support for TLSv1.2.
4. TCPDump for SSL negotiation: if issues persist, capture a TCPDump on the destination port and analyze SSL negotiation using Wireshark or a similar tool.
Case: SSL Hostname Verification Failure (Certificate SAN Mismatch)#
Issue: The Component Agent fails to start and cannot retrieve its configuration from the HEAL Control Center. The agent logs report an SSL hostname-verification failure when connecting to the Control Center through HAProxy.
Cause: The hostname used to reach the Control Center (for example, healapm.customer.com) is not present in the Subject Alternative Name (SAN) entries of the SSL certificate presented by HAProxy. Java validates the server hostname against the certificate's SAN list, so the TLS handshake fails hostname verification when the access hostname is missing.
Solution:
1. Add the access hostname/FQDN (for example, healapm.customer.com) to the SAN entries and regenerate the SSL certificate using CreateCertificate.sh.
2. Replace the existing haproxy.pem with the newly generated haproxy.pem under <a1home>/Appsone_Service/data/cert, then restart the HAProxy service. For the complete step-by-step procedure — including SAN configuration in conf.sh, certificate regeneration, verification, and rollback — refer to Regenerating the HAProxy SSL Certificate After a DNS Change.
3. Import the root CA certificate appnomic-rootca.crt into the Component Agent instance's truststore. Importing it into another Java installation does not resolve the agent SSL error.
keytool -import -trustcacerts -keystore <Component_Agent_Home>/config/keyfiles/cacerts -storepass changeit -noprompt -alias appnomic-rootca -file <CA_certificate_path>/appnomic-rootca.crt
4. Restart the Component Agent. It now establishes the SSL connection with the Control Center, retrieves its configuration, and starts successfully.
Note: Ensure every hostname/FQDN used to reach the Control Center — including any virtual or load-balanced names — is present in the certificate's SAN entries before regenerating. A missing SAN entry is the most common cause of hostname-verification failures.
Regenerating SSL Certificates for a New DNS (Using CreateCertificate.sh)#
When a customer obtains a new DNS name (or FQDN) for accessing HEAL, the SSL certificate must be regenerated so that the new name is present in its Subject Alternative Name (SAN) entries. Performing this as a post-installation step prevents the hostname-verification failure described in the case above.
1. Confirm the new DNS name resolves to the HAProxy virtual IP or server IP from the HEAL servers and from each target server that runs a HEAL agent.
2. Back up conf.sh and the current haproxy.pem, then assign the new DNS name to an unused SAN variable in <a1home>/Appsone_Service/utilities/Certificate/conf/conf.sh, retaining the existing SAN entries.
3. Regenerate the certificate by running ./CreateCertificate.sh pem from <a1home>/Appsone_Service/utilities/Certificate. The regenerated certificate is created at pem_cert/haproxy.pem under the same directory.
4. Verify the new DNS name is present in the certificate's SAN extension, copy the regenerated haproxy.pem to <a1home>/Appsone_Service/data/cert (on every node where HAProxy is deployed, for an HA deployment), and restart HAProxy.
5. For a self-signed setup, ensure the root CA certificate (appnomic-rootca.crt) is present in the truststore of every client that connects to HEAL over SSL — for the Component Agent, import it using the keytool command shown in the SAN Mismatch case above.
6. Restart the affected components (the Component Agent and any service that connects through HAProxy). They now establish SSL connections using the updated certificate without hostname-verification errors.
Note: The complete procedure — prerequisites, exact commands, SAN verification, HA deployment, rollback, and common issues — is documented in Regenerating the HAProxy SSL Certificate After a DNS Change under Install & Upgrade > HEAL Platform Installation & Configuration > Post Installation.
Note: Include every hostname/FQDN used to access HEAL — the new DNS name together with any existing or virtual/load-balanced names — in the SAN entries before regenerating, so that all access paths continue to validate.
High Resource Consumption (CPU/MEM/Disk/etc.) by CA#
1. Service/agent check: examine other running services/agents on the server that consume resources, and identify the specific process or service.
2. Resource utilization details: gather CPU and memory utilization details, and monitor threads/child processes spawned by the process.
3. Error logging: check Component Agent logs for errors related to resource consumption.
Note: Capture detailed errors or exceptions encountered during troubleshooting.
Unable to Collect Data using CA#
Case 1: Custom KPI Data Issues#
Issue: data is not collected for custom KPIs.
Solution: ensure the custom group-KPI output format:
KPI_NAME<delimiter>KPI_VALUE<delimiter>KEY_of_group_KPI<delimiter>
true_for_group-KPI_false_for_non-group_KPI<delimiter>ERROR_CODE<delimiter>Type_of_KPI
Verify the key of the group KPI matches attribute_value in comp_instance_group_kpi_details for UI visibility.
Case 2: Issue in Shell Type#
Exception: unable to execute scripts in the CA.
Cause: scripts in the CA have attributes defining the shell type; a mismatch in shell type can cause script-execution failure.
Solution:
Approach 1: update parameter_value to ksh for the respective mst_producer_id in the producer_parameters table in Percona, then remove agent_details.json and restart the Component Agent to regenerate it from the updated DB values.
Approach 2: if multiple shell types exist, update the details directly in agent_details.json, and in basic.properties provide an invalid Keycloak URL so the CA uses the config from agent_details.json instead of fetching from the DB.
Note: Choose the appropriate approach based on your account configuration.
Case 3: Issue in attribute_value section#
After deploying the latest CA build, it cannot collect data from Percona, with the error Error occurred while populating component instance, even though component and instance data exist in Percona.
Solution: the issue was caused by attribute_value being NULL in the comp_instant_kpi_threshold table for the availability KPI in the 1.x build. In the 2.x build it should be an empty value.
1. Check the comp_instant_kpi_threshold table for NULL values in the attribute_value column.
2. Update the value to empty for the availability KPI:
UPDATE comp_instant_kpi_threshold
SET attribute_value = ''
WHERE attribute_value IS NULL;
Case 4: Tomcat Component Issue#
Data collection does not work due to Java version 11.
Solution: change the Java path to OpenJDK 1.8, map it in the CA env file, and restart the component. Data collection will start.
Case 5: Component Metric Data#
When accessing server-status?auto via curl, an HTTP 400 error is returned. An initial javax.net.ssl.SSLHandshakeException was resolved by importing the IHS server certificate into cacerts, after which a NullPointerException appeared.
Solution:
1. Accessing metrics: server-status?auto returns HTTP 400 when accessed by server IP, but IHS metrics are visible when accessed by domain name.
2. Configuration update: in httpd.conf, within the VirtualHost tag, comment out the server IP and uncomment the domain name.
3. Data collection: IHS metrics started after updating the host IP to the domain name in comp_instance_attribute_values for IHS in the Percona backend.

Keycloak Connection Issues#
1. TLSv1.2 support: confirm Keycloak supports TLSv1.2. If the CA's Java version does not support TLSv1.2, connect to the HAProxy IP/port instead.
2. Connect through HAProxy: HAProxy acts as an intermediary, connecting to Keycloak using the desired protocol. Create a new frontend and backend using an ACL in HAProxy for this connection.
High Resource Consumption — Incorrect CPU_UTIL Data#
1. Sequential script execution: the error is displayed as below:
Wrong CPU_UTIL data in A1 for configured Hosts.
2. Adjust the thread-pool properties for sequential script execution:
component.agent.producers.minute.threadpool.minimum.size=1
component.agent.producers.minute.threadpool.maximum.size=1