/flyio-pack:flyio-common-errorsfrom flyio-pack
Diagnoses and fixes common Fly.io errors including deployment failures, health check failures, machine issues, and networking problems.
Ships in flyio-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Quick reference for the most common Fly.io deployment and runtime errors with solutions.
Error: health checks for machine e784... failed
Causes: App not listening on correct port, slow startup, missing dependencies.
Fix:
# Check logs for startup errors
fly logs -a my-app
# Verify internal_port matches your app
grep internal_port fly.toml
# SSH in and test manually
fly ssh console -C "curl localhost:3000/health"
# Increase health check grace period
# fly.toml — give app more time to start
[http_service.checks]
grace_period = "30s"
interval = "15s"
timeout = "5s"
Error: failed to build: exit code 1
Fix:
# Test Docker build locally first
docker build -t test .
docker run -p 3000:3000 test
# Check Dockerfile — common issues:
# - Missing EXPOSE directive
# - Wrong WORKDIR
# - npm install before COPY (layer caching)
Error: machine e784... failed to start
Fix:
# Check machine events
fly machine status e784...
# Common cause: OOM — increase memory
fly scale vm shared-cpu-1x --memory 512
# Or check for crash loops in logs
fly logs --instance e784...
Error: connection refused my-api.internal:3000
Fix:
# Verify target app is running
fly status -a my-api
# Check the app listens on correct port
fly ssh console -a my-api -C "ss -tlnp"
# Ensure apps are in same organization
fly orgs list
Error: volume vol_xxx not found in region iad
Fix:
# Volume must be in same region as machine
fly volumes list -a my-app # Check region
fly volumes create data --size 10 --region iad # Match region
HTTP 429 Too Many Requests
Fix: Implement backoff. See flyio-rate-limits.
fly status -a my-app # App and machine status
fly logs -a my-app # Recent logs
fly machine list -a my-app # All machines
fly ssh console -a my-app # Shell access
fly doctor # Check flyctl health
fly platform status # Fly.io platform status
For comprehensive debugging, see flyio-debug-bundle.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/flyio-ci-integrationConfigure CI/CD pipelines for Fly.io with GitHub Actions, Docker builds,
deploy tokens, and automated deployment workflows.
Trigger: "fly.io CI", "fly.io GitHub Actions", "fly deploy CI/CD".
/flyio-core-workflow-aExecute Fly.io primary workflow: deploy, scale, and manage apps with flyctl and fly.toml.
Use when deploying applications, configuring regions, setting secrets,
or managing the app lifecycle on Fly.io.
Trigger: "fly deploy", "fly.io app management", "fly scale", "fly.io regions".
/flyio-core-workflow-bExecute Fly.io secondary workflow: Postgres clusters, persistent volumes, and private networking.
Use when adding databases, persistent storage, or internal service communication.
Trigger: "fly postgres", "fly volumes", "fly.io database", "fly.io persistent storage".
npx claudepluginhub flight505/skill-forge --plugin flyio-packOther plugins' skills for the same job