Skip to content

Troubleshooting

A checklist for the issues support sees most often. Start here before opening a ticket.

Open Service → Deploys → [failed deploy] → Logs and find the first red step. Most failures fall into one of these buckets:

Symptom Likely cause Fix
Build exits 1 immediately Wrong root directory or missing lockfile Set root directory in Settings; commit package-lock.json or yarn.lock
Module not found at runtime Dev dependency used in production Move the package to dependencies or set NODE_ENV=production in build
Container exits after start Process binds to localhost only Listen on 0.0.0.0 and use process.env.PORT
Deploy stuck on “Starting” Health check never passes See Health checks below

StackBlaze only routes traffic to replicas that return 200 on your health path (default /). A common mistake is checking a dependency that is not ready on cold start.

See Health checks for probe configuration.

Changes to env vars trigger a redeploy. If the app still sees old values, confirm you edited the correct environment (production vs preview) and that the service is attached to the right project.

Attach the database from the service’s Environment tab. StackBlaze injects DATABASE_URL automatically — do not paste a localhost URL from your laptop.

DNS can take up to 48 hours to propagate. Verify the CNAME or A record matches the value in Domains. Certificate issuance fails if Cloudflare orange-cloud proxies the record — use DNS-only (grey cloud) during verification.

Managed databases are reachable at their internal service hostname from services in the same project. Connection refused usually means the service and database are in different projects or the app is using a public URL from local .env.

Check Metrics → Memory. If the line hits the plan limit and the instance restarts, upgrade the plan or reduce in-process cache size. Node apps should pass --max-old-space-size below the container limit.

See Memory & CPU limits.

Email support@stackblaze.com with the service ID, deploy ID, and the last 50 lines of build/runtime logs. Pro and Enterprise plans can use in-dashboard live chat.

Related: Support center · Observability · Status page