Skip to content

Troubleshooting DX IQ

This section provides guidance on resolving common issues and capturing diagnostic information while using HCL Digital Experience (DX) IQ. DX log files and browser developer tools help isolate and analyze interface and connection errors.

Before investigating specific errors, perform these basic checks:

  • Sign in to HCL DX with valid credentials and permissions.
  • Update your browser to the latest version of Chrome, Firefox, Edge, or Safari.
  • Turn on JavaScript in your browser settings.
  • Verify your network connection is stable.
  • Confirm your corporate firewall or proxy allows WebSocket connections.
  • Verify that DX IQ is installed and enabled on your deployment.

If the issue appears to be MCP-related, also verify that the <IQ_RELEASE_NAME>-mcp-server service is deployed, reachable, and matched to the DX IQ chart version you installed. In this topic, <IQ_RELEASE_NAME> is the DX IQ Helm release name (for example, dx-iq).

User interface

If interface or display issues occur, clear the browser cache and perform a hard refresh using Ctrl+Shift+R (or Cmd+Shift+R on Mac). For Safari, use Cmd+Option+R.

Missing interface icon

If the sparkle icon or floating action button (FAB) does not appear:

  • Verify that DX IQ is installed and enabled. For instructions, refer to Enabling DX IQ.
  • Confirm that all DX IQ components upgraded successfully and the deployment is healthy after a DX Core Helm upgrade.
  • Verify your account permissions with a system administrator. While DX IQ is optimized for the Practitioner persona, any authorized DX user with the wps.DX_IQ_INTEGRATOR_API Virtual Resource permission can access it.

Incorrect message display

If responses appear garbled, lack formatting, or fail to render code blocks:

  • Verify you are using the latest version of a supported browser.
  • Open an incognito window, log into HCL DX, and check if the messages display correctly. This rules out interference from browser extensions.

Connection and performance issues

Unresponsive interface

If the interface opens but messages receive no response, or the "Thinking..." indicator runs indefinitely:

  • Select Start a new conversation in the header, close and reopen the interface, or refresh the page to clear an expired session.
  • Temporarily disable your VPN to rule out network routing interference. If connectivity is restored, configure the VPN to allow WebSocket connections to the DX IQ endpoint.
  • Check if a corporate proxy or firewall is blocking the WebSocket connection to /dx/api/iq/v1/ws. Refer to Client-side tracing for instructions on inspecting this connection in your browser.
  • If the network connection is valid but the interface remains frozen, contact your DX administrator to verify that the <IQ_RELEASE_NAME>-integrator backend service is running and reachable.
  • If DX IQ was recently upgraded, confirm that the <IQ_RELEASE_NAME>-mcp-server service was upgraded at the same time and that the endpoint is responding.

Slow response times

If DX IQ is consistently slow to respond:

  • Break complex or multi-part questions into shorter, more specific prompts.
  • Test the connection from an alternate network to isolate local network latency.
  • Temporarily disable your VPN to determine if the network tunnel is introducing latency.
  • Contact your system administrator to check the backend load. High usage may require scaling the DX IQ container service.

Error messages

When a backend operation fails, the DX IQ interface displays a generic alert banner to the user:

DX IQ Error Message Display

To identify the underlying cause behind this banner, review the backend response payloads within the browser developer tools or examine the container logs to classify the issue:

Error Description Solution
Communication error An error occurred while communicating with the core DX server during a backend operation. Make sure the core HCL DX server is active and reachable from the DX IQ integrator container.
Connection error The client-side WebSocket connection between the browser and the DX IQ backend failed to establish. Check local network connectivity. Make sure corporate firewalls, VPNs, or reverse proxies allow WebSocket traffic on /dx/api/iq/v1/ws.
Invalid format The core DX server responded, but the data payload was in an unexpected or invalid format. Make sure the HCL DX base platform and DX IQ components are running compatible versions. Check logs for API contract mismatches.
No response or timeout A backend request took too long, or the core DX server failed to return a response. Try a shorter or simpler prompt. Check backend logs for connection drops or high resource utilization on the core platform.
Unable to connect to AI service The DX IQ backend is active but cannot establish a connection to the external LLM provider. Wait and try the request again. Contact a system administrator to check the LLM provider credentials, API keys, and outbound network connectivity.
Unauthorized The active user session does not have the necessary roles or permissions to access DX IQ. Contact your HCL DX system administrator to check your user persona configuration and role assignments.
Unsupported operation The AI assistant does not have the capability required to perform the action requested by your prompt. Rephrase the prompt. If the operation is supported on your system, make sure the required backend modules or integrations are fully configured and enabled.

LiteLLM

LiteLLM pod startup failure

If the LiteLLM pod fails to start and remains in a CrashLoopBackOff state:

  • Run the following command to examine recent deployment logs:

    kubectl logs -n <DX_NAMESPACE> -l app=litellm --tail=50
    

    <DX_NAMESPACE>: The namespace of the DX deployment, where LiteLLM is deployed (for example, dxns).

  • Verify external database endpoints and credentials if database connections fail.

  • Check the proxy_config structure in the Helm values file for syntax errors.
  • Confirm all referenced secrets exist in the <DX_NAMESPACE> namespace.
  • Verify that Kubernetes nodes have sufficient unallocated CPU and memory resources.

Health probe failure

If the readiness probe fails and the pod does not accept traffic:

  • Diagnose pod deployment issues:

    kubectl describe pod -n <DX_NAMESPACE> -l app=litellm
    
  • Test database network accessibility from the pod:

    kubectl exec -it <LITELLM_POD_NAME> -n <DX_NAMESPACE> -- nc -zv <LITELLM_DB_HOST> 5432
    
    • <LITELLM_POD_NAME>: The name of the LiteLLM pod.
    • <LITELLM_DB_HOST>: The hostname or IP address of the database that LiteLLM uses.
  • Increase the failureThreshold parameter in the startup probe to give database migrations more time to complete.

  • Review LiteLLM pod logs to identify database initialization errors.

Models not available

If DX IQ cannot locate the iq-general-purpose or iq-summary models:

  • Check for upstream API errors and startup failures:

    kubectl logs -n <DX_NAMESPACE> -l app=litellm
    
  • Verify the available proxy models:

    curl -H "Authorization: Bearer <LITELLM_MASTER_KEY>" \
      http://litellm.<DX_NAMESPACE>.svc.cluster.local:4000/v1/models
    

    <LITELLM_MASTER_KEY>: The master key of your LiteLLM proxy server.

  • Verify model names (iq-general-purpose, iq-summary) match the values defined in proxy_config.

  • Confirm LLM provider credentials exist in Kubernetes secrets.
  • Verify the upstream provider account has access to the specified models.

Connection refused from DX IQ

If the DX IQ backend service cannot establish network communication with LiteLLM:

  • Test endpoint accessibility from the DX IQ pod:

    kubectl exec -it <INTEGRATOR_POD_NAME> -n <DX_NAMESPACE> -- \
      curl http://litellm.<DX_NAMESPACE>.svc.cluster.local:4000/health/readiness
    
    • <INTEGRATOR_POD_NAME>: The name of the DX IQ Integrator pod.
  • Verify that the LiteLLM service is running:

    kubectl get svc -n <DX_NAMESPACE> litellm
    
  • Check Kubernetes network policies to ensure traffic is allowed between DX IQ and LiteLLM pods.

  • Verify cluster DNS resolution:

    kubectl exec -it <INTEGRATOR_POD_NAME> -n <DX_NAMESPACE> -- nslookup litellm.<DX_NAMESPACE>.svc.cluster.local
    

Backend services

If validation fails, use this table to isolate the cause:

Issue Possible cause Solution
Pods not starting Image pull errors Verify image tags and repository access.
Database connection fails Incorrect credentials or host Verify database secret and configuration in Preparing the database.
WebSocket errors Network policy restrictions Check Kubernetes network policies.
Model Context Protocol (MCP) integration issues Web Content Manager (WCM) or Digital Asset Management (DAM) not enabled Verify configuration.mcpServer.enableWcm and configuration.mcpServer.enableDam settings in Helm values.
No AI responses LiteLLM configuration issue Verify that the iq-litellm-api-secret Kubernetes secret exists and contains the correct virtualKey, that configuration.litellm.liteLlmUrl is set in your custom-iq-values.yaml, and that LITELLM_BASE_URL is set to the same URL in environment.pod.integrator. Refer to Deploying DX IQ services and Preparing LiteLLM access.

To inspect pod configurations and system logs:

kubectl logs -n <DX_NAMESPACE> deployment/<IQ_RELEASE_NAME>-integrator --tail=200
kubectl describe pod -n <DX_NAMESPACE> -l app=<IQ_RELEASE_NAME>-integrator
  • <DX_NAMESPACE>: The Kubernetes namespace where DX is deployed (for example, dxns).
  • <IQ_RELEASE_NAME>: The DX IQ Helm release name (for example, dx-iq).

Integrator pod startup failures

If the Integrator pod fails to start, check the container logs and verify these common issues:

MCP Server connectivity

If connection errors to the MCP Server occur in the Integrator logs, run these commands to check the deployment status and network resolution:

kubectl get pod -n <DX_NAMESPACE> -o jsonpath='{.items[?(@.metadata.labels.app=="<IQ_RELEASE_NAME>-mcp-server")].metadata.name}' && echo ""
# Expected output: <IQ_RELEASE_NAME>-mcp-server-<random>

# Verify the service DNS name resolves and responds
kubectl run -it --rm debug --image=curlimages/curl --restart=Never -n <DX_NAMESPACE> -- \
  curl -w "\nHTTP Status: %{http_code}\n" http://<IQ_RELEASE_NAME>-mcp-server:3000/probe/live
# Expected output: "MCP server live" with "HTTP Status: 200"
  • <DX_NAMESPACE>: The Kubernetes namespace where DX is deployed (for example, dxns).
  • <IQ_RELEASE_NAME>: The DX IQ Helm release name (for example, dx-iq).

MCP_SERVER_LIST set in the values file

The chart configures the Integrator to connect to the MCP Server deployed by the same release (<IQ_RELEASE_NAME>-mcp-server). Setting MCP_SERVER_LIST in environment.pod.integrator has no effect and cannot redirect the Integrator to another MCP Server. If your values file contains this entry, remove it. For more information, refer to DX IQ limitations.

LiteLLM connectivity

Verify that the Integrator can reach the LiteLLM proxy using the API key provided via the iq-litellm-api-secret Kubernetes secret (exposed as LITELLM_API_KEY). Also confirm that LITELLM_BASE_URL is set in environment.pod.integrator to the same value as configuration.litellm.liteLlmUrl. If LITELLM_BASE_URL is missing, the hot-reload code path cannot reach the proxy after the initial server start.

Connection failures

If you encounter errors such as Connection refused or Password authentication failed while verifying your database connectivity, the DX IQ Integrator cannot reach the database. Use the verification steps for your database type to locate the root cause.

Internal database

Check the persistence node logs to confirm the database and user were created automatically:

kubectl logs -n <DX_NAMESPACE> <DX_RELEASE_NAME>-persistence-node-0 -c persistence-node | grep -i "iq"
  • <DX_NAMESPACE>: The namespace of the DX deployment (for example, dxns).
  • <DX_RELEASE_NAME>: The DX Helm release name (for example, dx-deployment).

Expected output:

Creating IQ user "dx_iq_db_user"...
Creating IQ database "iqdb"...

If the security.iq.dbPassword parameter was missing during the deployment upgrade, the log shows this warning:

WARNING: No password specified for "dx_iq_db_user". Skipping IQ user and database creation.

External database

Verify network connectivity from within the cluster to your external database instance. The correct tool, flags, and command structure depend entirely on your database type and network security configuration. Adjust the connection parameters in this sample command to match your specific database engine:

kubectl run pg-test --rm -it --image=postgres:16 --restart=Never -n <DX_NAMESPACE> -- \
  psql "host=<DB_HOST> port=5432 dbname=iqdb user=<DB_USERNAME> password=<DB_PASSWORD> sslmode=require"
  • <DB_HOST>: The hostname or IP address of the external PostgreSQL server.
  • <DB_USERNAME>: The database username.
  • <DB_PASSWORD>: The database password.

RTC-managed database

Check the Runtime Controller (RTC) logs to confirm the automatic provisioning completed successfully:

kubectl logs -n <DX_NAMESPACE> deployment/<DX_RELEASE_NAME>-runtime-controller | grep -i "iq database"

Expected output:

IQ database setup completed successfully.

If the logs show IQ database setup failed., verify that the custom-credentials-iq-db secret exists in the <DX_NAMESPACE> namespace and that security.iq.customDbSecret was defined correctly during deployment.

MCP Server

Before investigating MCP-related errors, perform these basic checks:

  1. Confirm DX IQ is installed and enabled.
  2. Confirm <IQ_RELEASE_NAME>-integrator and <IQ_RELEASE_NAME>-mcp-server services are running and healthy.
  3. Confirm network routing and DNS resolution between DX, DX IQ, and MCP services.
  4. Confirm no recent release mismatch between DX IQ and MCP server components.
  5. Confirm MCP endpoint reachability for your deployment path (/mcp or /dx/api/iq/v1/mcp).
  6. Confirm probe endpoint status (/probe/live healthy and /probe/ready ready). For readiness pass or fail behavior, refer to Managing endpoints and security.
Issue Possible cause Solution
DX IQ request does not return a response MCP Server is unreachable, unhealthy, or routed incorrectly Validate service health, route configuration, and MCP endpoint reachability.
Repeated timeout behavior Network latency, backend load, or upstream dependency delay Test from an alternate network path, review backend load, and inspect DX IQ and MCP logs.
Intermittent failures in scaled environments Pod-level instability or routing inconsistency Check pod health, replica status, and restart patterns.
Payload-related request failures Request body exceeds configured size limit Validate payload size and review the BODY_PARSER_JSON_LIMIT configuration.
Unable to connect to AI service MCP Server cannot reach configured AI provider dependencies Check provider credentials, secrets, and outbound connectivity from cluster services.
Invalid format or protocol errors Service version mismatch or contract mismatch across components Verify compatible DX, DX IQ integrator, and MCP Server versions, and then review logs for parsing or schema failures.
Version incompatibility DX IQ and HCL DX Core versions fall outside the supported compatibility window. Check MCP Server logs for the detected HCL DX Core version, and update components to within two CF releases.

Advanced diagnostics

Use advanced diagnostics to isolate complex network, interface, or server-side issues. Administrators can trace client-side browser traffic or adjust server log levels to capture detailed backend performance data.

Enabling client-side tracing

Capture detailed diagnostic information using browser developer tools to investigate WebSocket and interface issues.

  1. Open browser Developer Tools by pressing F12 or right-clicking the page and selecting Inspect.
  2. Select the Console tab and check for error logs or warnings related to DX IQ.
  3. Select the Network tab and filter by WS to inspect the active WebSocket connection. Ensure the connection to /dx/api/iq/v1/ws shows a status code of 200. Select the connection string to view the individual JSON-RPC messages exchanged between the browser and DX IQ.

    DX IQ WebSocket Message Trace

  4. To export a full trace for HCL Support, right-click inside the Console tab and select Save as to export the log file.

Enabling server-side logging and tracing

To isolate deployment issues, enable debug logs for the DX IQ Integrator and MCP Server. Comparing timestamps across both logs helps pinpoint where processing failures occur.

The logging block in the Helm values sets logging levels. The deployment writes these settings to a shared ConfigMap (<IQ_RELEASE_NAME>-global-iq) and mounts the configuration into each pod at /etc/global-config/. The Integrator reads its log settings from the file path defined by LOG_SETTINGS_FILE (default: /etc/global-config/log.integrator).

Helm values key Type Default Description
logging.integrator.level Array of strings ["api:server-v1:*=info"] Log rules for the DX IQ Integrator pod.
logging.mcpServer.level Array of strings ["api:server-v1:*=info"] Log rules for the DX MCP Server pod.

Each entry in the array follows the format <component>:<pattern>=<log-level>, the same format used to configure logging for other DX components. For more information, refer to Log configuration string format. In DX IQ, the component is api and the pattern starts with server-v1. For example, api:server-v1:*=info applies the info level to all namespaces under server-v1, where the wildcard * matches any namespace. The runtime joins multiple rules with commas. Both pods initialize logging with LOG_CONTEXT=api, so the root namespace prefix for all log rules is api:server-v1.

Level Description
error Error events only
info General operational messages (recommended for production)
debug Detailed diagnostic output

The following example shows how to enable debug output for all integrator namespaces:

logging:
  integrator:
    level:
      - "api:*=debug"
      - "ui:*=debug"

The following example shows how to mix levels across namespaces:

logging:
  integrator:
    level:
      - "api:server-v1:llm*=debug"
      - "api:server-v1:*=info"

To apply these configurations during a troubleshooting session, update your custom-iq-values.yaml file (the same file you created in Deploying DX IQ services) and upgrade the Helm release.

  1. Add the logging configuration to your custom-iq-values.yaml file:

    logging:
      integrator:
        level:
          - "api:*=debug"  # Revert to "info" when done
          - "ui:*=debug"  # Revert to "info" when done
      mcpServer:
        level:
          - "api:*=debug"  # Revert to "info" when done
    

    Adjust the logging granularity using these patterns:

    Warning

    debug logging produces high-volume output. Only use it while investigating an active issue, then revert the level to info.

    Pattern Description
    api:*=info Info-level logging for the API layer
    api:*=debug Debug-level logging for the API layer
    ui:*=info Info-level logging for the UI layer
    ui:*=debug Debug-level logging for the UI layer
  2. Apply the updated settings by upgrading with your custom-iq-values.yaml file:

    helm upgrade <IQ_RELEASE_NAME> \
      https://<YOUR_REPOSITORY_FQDN_AND_PATH>/<IQ_HELM_CHART_VERSION>.tgz \
      --namespace <DX_NAMESPACE> \
      -f custom-iq-values.yaml
    
    • <IQ_RELEASE_NAME>: The DX IQ Helm release name (for example, dx-iq).
    • <YOUR_REPOSITORY_FQDN_AND_PATH>: The repository fully qualified domain name (FQDN) and chart path.
    • <IQ_HELM_CHART_VERSION>: The Helm chart version (for example, hcl-dx-iq-v1.0.0_20260518-2104).
    • <DX_NAMESPACE>: The Kubernetes namespace where DX is deployed (for example, dxns).

    Reverting debug logging

    After troubleshooting, reset the log level to info in your custom-iq-values.yaml file and run the upgrade command again.

  3. Reproduce the issue, then pull the logs from both services:

    kubectl logs -n <DX_NAMESPACE> deployment/<IQ_RELEASE_NAME>-integrator --tail=200
    kubectl logs -n <DX_NAMESPACE> deployment/<IQ_RELEASE_NAME>-mcp-server --tail=200
    

Reviewing past sessions

If a persistent database is configured, DX IQ keeps closed conversations in the database. The user interface does not display them, but you can query the database to review past sessions while you investigate an issue. For information about configuring the database, refer to Preparing the database.

Without a persistent database, session data is stored in memory and is lost when the pod restarts.

Contacting HCL Support

If you encounter issues that cannot be resolved using these steps, open a ticket through the HCL Support portal.

Tip

Collect your Helm deployment values for both your HCL DX and DX IQ releases before opening a ticket. Support engineers require both datasets to diagnose configuration issues effectively.

Collect your DX and DX IQ deployment values:

helm get values <DX_RELEASE_NAME> --namespace <DX_NAMESPACE>
helm get values <IQ_RELEASE_NAME> --namespace <DX_NAMESPACE>
  • <DX_RELEASE_NAME>: The DX Helm release name (for example, dx-deployment).
  • <DX_NAMESPACE>: The namespace of the DX deployment (for example, dxns).
  • <IQ_RELEASE_NAME>: The DX IQ Helm release name (for example, dx-iq).

Sensitive values

The output might contain passwords and secrets. Review and redact all sensitive credentials before sharing the data.

If you are using an external database, include these additional connectivity details:

  • Database host and port (for example, iq-postgres.c9akciq32.us-east-1.rds.amazonaws.com:5432).
  • Database name (for example, iqdb).
  • Whether TLS is enabled (dbTlsEnabled: true or false).
  • Network reachability confirmation, such as the output of this connection test:

    kubectl run -it --rm debug --image=postgres:15 --restart=Never -n <DX_NAMESPACE> -- \
      psql "host=<DB_HOST> port=<DB_PORT> dbname=<DB_NAME> user=<DB_USERNAME> sslmode=require" -c "\conninfo"
    
    • <DB_HOST>: The database host.
    • <DB_PORT>: The database port.
    • <DB_NAME>: The database name.
    • <DB_USERNAME>: The database username.
  • Relevant database connection error segments from the DX IQ Integrator pod logs.

Related information