Skip to main content

Troubleshooting

This guide covers common issues and troubleshooting procedures for Runlayer. For complex issues or enterprise support, contact our technical team.

Quick Diagnostics

System Health Check

Kubernetes (Helm/EKS)
ECS (Terraform)

Database Connectivity

Common Issues

Service Won’t Start

Symptoms: Services fail to start or immediately exit Solutions:
  1. Kubernetes: Inspect pod status and events
    • kubectl describe pod <pod> -n anysource
    • kubectl logs <pod> -n anysource
  2. ECS: Inspect stopped tasks and CloudWatch logs
    • aws ecs describe-tasks --cluster <cluster> --tasks <task-id>
    • Review the task’s CloudWatch log group
  3. Verify configuration values and secrets (Kubernetes Secrets or AWS SSM/Secrets Manager)
  4. Check security groups and network connectivity between services

Database Connection Issues

Symptoms: Application cannot connect to database Solutions:
  1. Verify the database endpoint and credentials
  2. Check security groups / network policies for database access
  3. Review database logs in AWS (RDS logs / CloudWatch)
  4. Validate environment variables or secret values used by the backend

Performance Issues

Symptoms: Slow response times or high resource usage Solutions:
  1. Check resource utilization (CloudWatch metrics or Kubernetes metrics)
  2. Review database performance and slow query logs
  3. Verify Redis cache connectivity and hit rate
  4. Inspect application logs for errors and timeouts

ACM Certificate Issues

Symptoms: Terraform fails looking up certificate or ACM certificates remain in PENDING_VALIDATION. Wildcard lookup fails (default behavior): The ECS module derives a wildcard domain from your domain (e.g., ecs.staging.runlayer.com*.staging.runlayer.com) and looks up an existing certificate.
  1. Verify a wildcard certificate exists: aws acm list-certificates --query "CertificateSummaryList[?contains(DomainName, '*')]"
  2. If no wildcard certificate exists, either create one manually or set enable_acm_dns_validation = true to have Terraform create it.
DNS validation fails (when creating new certificates):
  1. Confirm the Route53 hosted zone exists in the AWS account running Terraform.
  2. Ensure hosted_zone_name matches the zone name (e.g., staging.runlayer.com).
  3. Re-run terraform apply so the _acme-challenge CNAME records are created automatically.

Authentication Problems

Symptoms: Users cannot log in or access resources Solutions:
  1. Verify authentication configuration
  2. Check external identity provider connectivity
  3. Review user permissions and roles
  4. Check JWT token configuration

Runlayer Assistant: Anthropic use case details not submitted

Symptoms: Runlayer Assistant replies with an error instead of an answer:
Cause: This error comes from AWS Bedrock, not Runlayer. Anthropic requires a one-time use case details form before its models can be invoked in an AWS account. Runlayer Assistant always routes through Bedrock using your deployment’s own AWS credentials, so it needs the form in the deployment’s account; agents on a configured Bedrock AI provider use the IAM role you supplied instead, so they need it in that role’s account. This is a separate gate from the IAM permissions. Upgrading the Runlayer module or chart does not fix it, and neither does granting aws-marketplace:Subscribe — those address a different failure (Model access is denied due to ... AWS Marketplace actions). Solutions:
  1. Check whether the form was already submitted, and whether the model is available:
    Requires AWS CLI 2.27.42+ and AmazonBedrockFullAccess on the calling principal.
  2. If it was not submitted, submit it — Bedrock console → Model catalog → any Anthropic model → Submit use case details, or aws bedrock put-use-case-for-model-access --form-data <base64-encoded JSON>. Access is granted once the form is accepted, but allow up to 15 minutes for it to propagate before resubmitting or escalating.
  3. AWS accepts the submission once per account, or once at your AWS Organization’s management account, with member accounts inheriting it. Check the management account before submitting again. Opt-in Regions require their own submission.
  4. Confirm the model matches your Region’s geography. The default us. inference profile cannot be invoked from a non-US BEDROCK_REGION — set RUNLAYER_ASSISTANT_BEDROCK_MODEL to the matching profile (for example au.anthropic.claude-opus-4-6-v1 in ap-southeast-2).
  5. If your organization restricts Regions with SCPs, allow bedrock:InvokeModel* in every destination Region of the inference profile.
See Bedrock model access for the full prerequisite.

Log Analysis

Application Logs

Kubernetes (Helm/EKS)
ECS (Terraform)

Database Logs

Review database logs in AWS (RDS logs / CloudWatch).

Enterprise Support

For complex issues, performance optimization, or enterprise-level troubleshooting:

Enterprise Technical Support

Contact our technical team for advanced troubleshooting and 24/7 support

Support Information

When contacting support, please include:
  • System Information: OS, deployment method, AWS region
  • Error Messages: Complete error messages and stack traces
  • Log Files: Relevant application and system logs
  • Configuration: Sanitized configuration files (remove secrets)
  • Steps to Reproduce: Detailed steps that led to the issue

Escalation Process

  1. Level 1: Basic troubleshooting (this guide)
  2. Level 2: Advanced diagnostics (contact support)
  3. Level 3: Engineering escalation (critical issues)

Preventive Measures

  • Regular Monitoring: Set up health checks and alerting
  • Log Rotation: Configure proper log management
  • Resource Monitoring: Monitor CPU, memory, and disk usage
  • Backup Verification: Regularly test backup and restore procedures
Contact our support team for comprehensive monitoring setup and proactive issue prevention.