Troubleshooting

Diagnose build, runtime, networking, storage, telemetry, AI SRE, MCP, alert, SSH host, and multi-runtime issues.

Start every investigation by confirming the active organization, project, application, deployment ID, and UTC timestamp range before changing settings.

Deployments and builds

Application created but nothing is running

Saving an application creates its desired configuration only. Trigger Deploy for the initial rollout. Similarly, saving a workflow triggers on future pushes and does not replay historical commits. If a job stays pending, ask a platform admin to inspect worker queue depth (GET /api/deployment/queue/stats/).

Repository missing or push did not deploy

  • Open Organization › Git to check for Revoked or Pending connections.
  • On GitHub, verify the GitHub App installation grants access to that specific repository.
  • On GitLab, note that pushing more than three branches/tags at once hits GitLab's push_event_hooks_limit and suppresses webhooks upstream.
  • Check workflow step filters: a branches filter skips tag pushes, and ! exclusions placed before broad inclusions are overridden cleanly because last matching rule wins. See Workflow reference.

Build failed

Inspect Deployments › Build logs at the first non-zero command:

  • Confirm Dockerfile/context paths, lockfiles, and private registry credentials (Oci, Ecr, or ArtifactRegistry).
  • Remember Dockerfile secrets use BuildKit --mount=type=secret, not plain ARG build variables.
  • Ensure monorepo paths filters and build contexts include shared workspace packages.

Build succeeded but container crashes or stops

Inspect Runtime logs (get_logs with source: runtime), process entrypoint, port binding (0.0.0.0), and memory limits:

  • Changes to environment variables, plans, or tracing settings take effect only on the next deployment—Restart keeps old container definitions.
  • Container images using encrypted runtime secrets need /bin/sh present for startup injection wrappers.
  • If tasks remain unscheduled, verify per-node free memory/CPU reservations and volume-pinning constraints on Cluster or target platform capabilities (Kubernetes, AWS ECS, Google Cloud Run).

Domains, TLS, and internal networking

  • Gateway 502 / TLS failure: verify DNS points at the platform's public IP/load balancer (GET /api/network/domain/ and GET /api/network/{domain}/lookup/), the container binds 0.0.0.0:<target_port>, and HTTP health probes succeed. Remember TCP SNI routes differ from HTTP routes, and UDP ingress is not routed.
  • Private DNS lookups fail: verify caller and callee live in the same project, use the project internal hostname and target container port (not the external ingress port), and test from inside project containers rather than your local machine.

Storage and terminal

  • Empty volume / missing files: confirm the process writes inside the configured mount path (paths outside reset on container replacement). Never initialize a fresh database over a missing volume mount—ask a platform admin to inspect node-local placement before redeploying.
  • Browser terminal disconnects: confirm a running replica exists, /bin/bash or /bin/sh exists in the image, and note that Swarm workers on remote nodes may not be reachable from the local daemon exec socket.

Telemetry, errors, and alerts

  • Charts blank or low: check scope, time window (1h/24h/7d), and remember private service-to-service traffic bypasses HTTP ingress counters. If all apps go blank together, inspect node metrics agents or runtime metrics scrapers.
  • Missing logs: ensure the app writes cleanly to stdout/stderr, switch between Build and Runtime tabs, and redeploy older containers so log driver configuration updates apply.
  • Missing OpenTelemetry traces or error groups: confirm tracing is enabled and the app redeployed; verify Railpack build language (Go, Node.js 18.19+, Python 3.10+, Java, .NET 8+) or verify your 2–3 line github.com/Overal-X/otel SDK hook on Dockerfiles/Next.js/Fastify/Nixpacks is initialized with OTEL_EXPORTER_OTLP_ENDPOINT and X-Formatio-Token; check sampling settings. Note that plain text console logs do not create grouped error issues without exception span events.
  • Alert notifications missing: verify HMAC signature verification (X-Formatio-Signature sha256=<hex>), confirm Slack/Teams/Webhook channel permissions in Integrations › Alerts, and check suppression windows (failing vs ok status).

AI SRE and coding agents (MCP)

  • Cannot enable AI error advisor: on self-hosted installations (or whenever no global default provider is active), an organization owner cannot turn on AI triage on Organization › AI until a platform admin adds and tests at least one credential in Admin › Integrations › AI Providers. On hosted Formatio Cloud, the built-in global default provider is already available out of the box.
  • suspect_sha is null or partial diff note appears: commit diffs over 400 lines truncate automatically, Bitbucket lacks a blame API, and config/data errors have no offending commit—check Environment variables and linked Git accounts (Settings › Linked Git accounts).
  • /mcp returns 401 or permission error: check token expiry (Settings › Access tokens), confirm organization owner hasn't flipped off the agent_access kill switch, and verify checkbox scopes (IssuesWrite, ApplicationsRead, ApplicationsWrite) match the tool called.

Multi-runtime and SSH host errors

  • KeyChanged on an SSH host: Formatio intentionally refuses SSH operations when a host's presented SSH fingerprint changes from the pinned value. Verify on the server out-of-band (ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key.pub) before re-pinning in Admin › Inventory › Hosts.
  • Move project or deploy rejected with capability gap: moving a project (PATCH /api/project/{id}/platform/) requires an empty project or full compatibility; check whether Kubernetes, AWS ECS, or Google Cloud Run satisfies TCP route or local persistent volume needs via Platforms, runtimes and registries.