Skip to main content
Common issues and solutions for 2501 deployments.

Common Issues

Registry Authentication Failed

# For ECR - verify credential helper is installed
which docker-credential-ecr-login

# Manual ECR login (for testing)
aws ecr get-login-password --region eu-west-3 | docker login --username AWS --password-stdin <2501-ecr-registry>

# For Generic registry
docker login <registry-url>

Database Connection Failed

# Test connection
psql "postgresql://<user>:<password>@<host>:5432/2501"

# Check DATABASE_URL format
# postgresql://<user>:<password>@<host>:<port>/<database>?schema=public

Services Not Starting

# View logs
docker service logs -f 2501_engine
docker service logs -f 2501_command-center

# Check resources
docker stats

Migration Failed

# Check database is accessible
# Check DATABASE_URL and DIRECT_URL are correct
# Retry deployment
./2501-infra deploy

Viewing Logs

docker service logs -f 2501_engine
docker service logs -f 2501_command-center

# All services status
docker stack services 2501

Health Checks

curl http://localhost:1337/health    # Engine
curl http://localhost:3000/health    # Command Center

Reset Everything

This will delete all data. Only use this for development/testing environments.
# Stop and remove
./2501-infra deploy --remove

# Remove volumes (WARNING: deletes data)
docker volume rm $(docker volume ls -q | grep 2501)

# Reinitialize
./2501-infra init --force -t swarm --no-postgres
./2501-infra deploy

Feature Toggles Reference

Feature toggles control various system behaviors. Modify them via SQL:
UPDATE "FeatureToggle" SET enabled = true WHERE key = 'toggle_key';

Integration Toggles

Toggle KeyDescriptionDefault
enableElasticSearchEnable Elasticsearch integration❌ Disabled
enableDockerSwarmEnable Docker Swarm orchestration❌ Disabled
enablePluginsEnable plugins system❌ Disabled

Security & Logging Toggles

Toggle KeyDescriptionDefault
enableSecureLogsEnable secure logging❌ Disabled
enableEmbeddingsEnable embeddings for RAG❌ Disabled
enableCredentialProcessingEnable credential processing❌ Disabled
enableCommandVerificationVerify commands before execution❌ Disabled
enableLogLlmInputAndOutputLog LLM input/output❌ Disabled
enableLogLlmUnparsableResponseLog unparsable LLM responses❌ Disabled

Experimental Toggles

Toggle KeyDescriptionDefault
enableSlowInferenceReduce parallel tasks for slow inference❌ Disabled
enableOperationalRulesVerificationEnable operational rules verification❌ Disabled
enableFunctionFormatVerificationEnable function format verification❌ Disabled
enableFunctionsInTheLastMessageEnable functions in last message (experimental)❌ Disabled
enableExtraLLMLoggingEnable extra LLM logging (temporary)❌ Disabled

Support

For issues or questions:
  1. Check logs and health endpoints
  2. Verify configuration against this guide
  3. Contact 2501.ai support