Troubleshooting & FAQs#
This section outlines common errors encountered during local development, database connection setups, and cloud deployments, along with their resolutions.
1. Elasticsearch Connection & Authentication Errors#
Error: 401 security_exception: missing authentication credentials for REST request#
Cause: Your GCE Elasticsearch instance has security enabled (basic authentication), but the credentials are missing or incorrect in your .env file.
Resolution:
Open your
.envfile and verify thatELASTICSEARCH_USER=elasticis set.Confirm that
ELASTICSEARCH_PASSWORDmatches the password configured on your VM.Run
just elastic-infoto test the authenticated connection.
Error: ConnectionRefusedError: [Errno 61] Connection refused#
Cause: The Elasticsearch server is either offline or blocked by a firewall. Resolution:
SSH into your GCE VM and verify that the Elasticsearch service is active:
sudo systemctl status elasticsearch
Confirm that your GCP firewall allows inbound TCP traffic on port
9200from your development IP.
2. Neo4j Connection Issues#
3. Reasoning Engine Regional Mismatches#
Error: Failed to route task: gRPC regional mismatch#
Cause: The Orchestrator and the remote specialist agent (e.g. Tier 2 Responder) are deployed in different GCP regions, and their regional clients are attempting to connect across mismatched zones. Resolution:
During deployment/update, ensure that
GCP_LOCATIONin your.envmatches the native hosting region of the target agent (e.g.us-east4for the Orchestrator,us-central1for the Tier 2 Responder).Verify that the routing client’s regional configurations are correctly resolved from the environment variables in
agent_soc_manager/agent.py.
4. macOS & Airlock Package Installation Issues#
6. App Visibility in Gemini Enterprise Web UI#
Issue: Deployed app or agent is not visible in the Gemini Enterprise web console#
Cause: When creating apps via CLI or API (rather than the Cloud Console UI), they default to restricted settings and do not show up unless specific intranet and vertical options are supplied. Resolution:
You must explicitly include
--app-type APP_TYPE_INTRANETand--industry-vertical GENERICwhen creating the application:python manage.py agentspace create-app \ --name "My Agent App" \ --type SOLUTION_TYPE_CHAT \ --no-datastore \ --app-type APP_TYPE_INTRANET \ --industry-vertical GENERIC