-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
This guide covers common issues encountered when developing with or operating an ADEPT stack, along with diagnostic commands and resolutions.
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"
make validate-credentials
make validate-service-health
docker logs orchestration_service --tail 50 --since 5mSymptom: 401 unauthorized_client: Invalid client or Invalid client credentials
Resolution:
# Discover the correct secret, update .env, then rebuild
docker exec postgres psql -U admin -d keycloak -c \
"SELECT secret FROM client WHERE client_id = 'admin-cli';" -t -A
make rebuild-orchestratorSymptom: Services return 401/403 after a Keycloak restart or extended uptime.
Resolution:
make fix-credentials # Regenerate all service client secrets
make sync-credentials # Sync to test credential location
make validate-credentials # Verify everything authenticatesRestart vs Rebuild: A Docker
restartdoes NOT reload.envvalues. Usemake rebuild-<service>ordocker compose up -d <service>to pick up credential changes.
ADEPT uses three Docker networks. Services must be on the correct network to communicate:
| Network | Purpose | Services |
|---|---|---|
adept_frontend_network |
User-facing | nginx_proxy, OAuth2 proxy, UIs |
adept_application_network |
Business logic | agent_gateway, orchestration_service, Keycloak, MCP servers |
adept_data_network |
Data persistence | PostgreSQL, Redis |
Legacy Network: The
agentic_framework_networkis deprecated and empty. Update any references to it.
Test containers must attach to both adept_application_network and adept_frontend_network:
docker run --rm \
--network=adept_application_network \
--network=adept_frontend_network \
agentic-framework-deps-base \
/app/.venv/bin/pytest tests/e2e/test_example.py -vThe Agent Gateway container listens on port 8081 but is mapped to host port 8083:
| Service | Container Port | Host Port |
|---|---|---|
| Agent Gateway | 8081 | 8083 |
| HPC MCP Server | 8081 | 8081 |
# Verify port mappings
docker ps --format "{{.Names}}\t{{.Ports}}" | grep -E "agent_gateway|hpc_mcp"| Target | Purpose |
|---|---|
make validate |
Run all E2E validation tests |
make validate-credentials |
Check service authentication |
make fix-credentials |
Regenerate all service client secrets |
make sync-credentials |
Sync credentials to test location |
make validate-service-health |
Full system health check |
make start / make stop
|
Start or stop all services |
make rebuild / make teardown
|
Full rebuild or complete teardown |
Getting Started
Architecture
- Overview
- MCP Tool System
- Slurm HPC Integration
- Multi-Agent Orchestration
- A2A Federation
- Security Model
Deployment
User Guides
Developer Tools
CI/CD
Testing
Contributing
Reference