Skip to content

Common issues and resolutions for AgentCube deployments. When the AI platform connects through the Context Engine, check the Context Engine’s /health and logs first (see Context Engine Issues), then the connector behind it. The other tables cover the connectors and the AI platforms.

SymptomCauseResolution
Connector health endpoint returns unhealthy, or its backend.status is unreachableConnector cannot reach the backendVerify ESSBASE_SERVER_URL, PLANNING_SERVER_URL, or FCCS_SERVER_URL is correct and accessible from the container’s network
Health endpoint not respondingContainer not running or not exposedCheck container status and ingress configuration
Data call returns a connection error (test_datasource direct, or get_data via the Context Engine)Backend credentials invalid or expiredVerify username/password; check for account lockout
Data call fails with connector call exceeded 30.0sQueries against that system routinely take longer than the Context Engine waitsIn the admin portal, open the system’s page and raise its Call timeout (between 5 and 210 seconds), or choose Use default to go back to the deployment-wide limit. The change applies to the next call; no restart is needed. Status checks keep their own short limit
SymptomCauseResolution
SSO popup doesn’t appearOIDC base URL mismatchEnsure the OIDC base URL exactly matches the public URL of the endpoint the AI platform connects to: AGENTCUBE_CE_OIDC_BASE_URL on the Context Engine, or OIDC_BASE_URL on a directly connected connector
SSO login failsIdentity provider misconfigurationVerify app registration, redirect URI, and client credentials
Oracle token exchange failsJWT assertion rejected by OCIVerify signing key, certificate alias (AGENTCUBE_SIGNING_KID), and OCI confidential app configuration
User gets “access denied” from the data sourceUser not in OCI Identity Domain, or username mismatchEnsure user exists in OCI Identity Domain with username matching corporate email
Account locked in OCIRepeated failed authentication attemptsReset the user’s password in OCI Identity Domain
SymptomCauseResolution
Tools don’t appear in Claude.aiConnector added mid-conversationStart a new conversation
Stale tool definitions in Copilot StudioCopilot caches MCP tool definitionsDisconnect and reconnect the MCP connector in agent Actions settings
Connection errors from Copilot StudioCompatibility issueVerify the connector is accessible from Microsoft’s network
SymptomCauseResolution
Container restarts frequentlyResource limits too low or application errorCheck container logs; ensure at least 1 vCPU and 2 GiB memory for the Context Engine and 0.25 vCPU and 0.5 GiB for each connector (see Container Images)
Image update doesn’t take effectContainer platform cached the previous imageForce a fresh pull: use a unique image tag or revision suffix, or trigger a forced redeployment on your platform. On Azure Container Apps a revision suffix allows only lowercase letters, numbers and hyphens, so drop the dots from a version (v317, not v3.1.7)
Environment variable changes not appliedContainer not restartedRestart the container after changing environment variables
Users must re-authenticate after a connector restartExpected behavior for a connector reached directly in OIDC modeThe connector keeps OAuth state in memory, so users re-authenticate after it restarts. The Context Engine stores OAuth client state in its database, so Context Engine restarts and redeploys do not force re-authentication
SymptomCauseResolution
Context Engine /health reports a problemDatabase unavailable or misconfiguredCheck the persistence block first; it reports unhealthy when the Context Engine cannot reach its PostgreSQL database
Adding a data source is refused, or the dashboard shows “Data sources cannot be added until a valid license is installed.”No valid license installed, or the license cannot be validatedCheck the license block in /health (data_source_provisioning reads blocked_by_license) and open Admin & Security → License in the admin console. Install or renew the license key there. Allow outbound HTTPS to https://licensing.caprus.ai
License install is refused with “AGENTCUBE_CE_CREDENTIAL_KEY is not configured”The credential encryption key is not setSet AGENTCUBE_CE_CREDENTIAL_KEY on the deployment, restart, then install the license again
A data call through the Context Engine returns a connector errorThe connector behind the Context Engine is unhealthy or unreachableCheck the connector’s own /health and logs, then use the tables above

Check the Context Engine’s logs first, then the affected connector’s. Replace {app_name}, {container_name} and the other placeholders with the Context Engine’s or connector’s name in your deployment. Each command is a single line and runs as written in PowerShell or bash.

Terminal window
az containerapp logs show --name {app_name} --resource-group {resource_group} --tail 50

Set AGENTCUBE_CE_LOG_LEVEL=DEBUG on the Context Engine, or AGENTCUBE_LOG_LEVEL=DEBUG on a connector, for verbose logs while troubleshooting. Set it back to INFO afterwards to reduce log volume. The Context Engine does not read AGENTCUBE_LOG_LEVEL.

If you cannot resolve an issue using this guide, contact Caprus AI support with:

  1. The health endpoint responses (/health) from the Context Engine and the affected connector
  2. Container logs at debug level (AGENTCUBE_CE_LOG_LEVEL=DEBUG on the Context Engine, AGENTCUBE_LOG_LEVEL=DEBUG on a connector)
  3. The specific error message or behavior observed
  4. Your Context Engine version and authentication mode, plus the version and authentication mode of the affected connector