Help
Troubleshooting
Fix failed builds, deploys stuck on the health check, 502 errors, domain and certificate issues, database connections and quota errors.
Start from the deployment that failed: its status shows which phase failed, and each phase has its own logs. The sections below follow the same order as the pipeline.
The build fails
Where to look: the deployment's Build logs.
| Symptom | Likely cause | Fix |
|---|---|---|
SOURCE_AUTH_FAILED | The Git connection lost access to the repository | Reconnect the provider; for GitHub, check the App can see the repo (Git Integration) |
| Command not found / wrong version | Auto-detection picked the wrong runtime | Pin the version in your project files, or set install and build commands explicitly |
| Builds the wrong app in a monorepo | Root directory not set | Set the root directory; enable "include files outside root" for shared packages |
| Killed / out of memory during build | The build uses more memory than available | Reduce build parallelism, or split heavy steps |
| Fails only on Parslinks | Untracked or ignored files, or a missing variable | Reproduce from a clean clone at the same commit; check variables |
A failed build produces no artifact. Your current deployment keeps serving.
The deploy is stuck on the health check
The new revision must pass the health gate before traffic moves. If it never passes:
- Open the Deploy logs and the new replica's runtime logs.
- Check the app listens on
0.0.0.0and the configured port (readPORTfrom the environment). - Check the health check path exists and answers 2xx/3xx quickly, without depending on slow external calls.
- Check memory: a replica killed for exceeding its limit restarts in a loop.
Your previous version keeps serving the whole time. A rollout that fails its health check never moves the alias.
Status shows a reason code
| Code | Meaning | What to do |
|---|---|---|
PROBE_FAILED | Replicas start but fail the health check | See above |
IMAGE_PULL | The image cannot be pulled | Check tag and registry credential (Images & Registries) |
INSUFFICIENT_MEMORY / INSUFFICIENT_CPU | No host has room for the requested limits | Lower the limits or contact support |
VOLUME_REPLICA_LOCK | A volume is attached, so only 1 replica can run | Keep 1 replica, or remove the volume and keep state elsewhere |
NO_NODES | No runtime host available in the region | Contact support |
502, 504 or timeouts
Work through the chain from the edge inwards:
- Is a replica ready? The service panel shows ready replicas. No ready replica means no upstream.
- Right port? Each domain forwards to the port stored on the domain. It must match the port your app listens on.
- Slow responses? Long-running requests should stream or run in a background worker.
- Custom domain? Confirm DNS still points to the generated hostname and the domain is still verified (Domains & TLS).
Domain and certificate problems
- "Waiting for DNS update" forever: check both the CNAME and the
_parslinks-verifyTXT record; watch for DNS panels that append your zone name twice. - Browser certificate warning: the domain is not verified yet, or Cloudflare's SSL mode is "Flexible". Use Full (strict).
The app cannot reach its database
- Inside the project, use the private variables (
DATABASE_URL,REDIS_URL), not the public ones. - Both services must be in the same environment and region.
- After changing database credentials, redeploy every service that references them.
- From your computer, enable public TCP and use
DATABASE_PUBLIC_URL(Managed Databases).
A variable change did nothing
Variables are frozen into each deployment's snapshot. Changing a value affects the next Apply or deploy. Redeploy to pick it up. Rollbacks restore old values on purpose (Variables & Configuration).
A push did not deploy
- Auto-deploy might be off for that environment.
- The branch might not be tracked by any environment you expect.
- In a monorepo, the push might not touch the service's watch paths.
Scaling does not add replicas
Look for VOLUME_REPLICA_LOCK (a volume pins the region to one replica) or a quota error (replicas per service, CPU or memory). See Scaling & Regions.
The console will not open
- You need project admin rights on restricted projects.
- The instance needs at least one ready replica; paused instances have none.
- Sessions end after 30 minutes idle or 4 hours in total: open a new one.
Quota or entitlement error
Plan limits are enforced when you act. Check the billing page, free up resources (unused services, previews, volumes) or upgrade (Pricing & Plans).
Deleted something by accident
You have 14 days to restore it from the deleted list (Deleting & Restoring).
Contacting support
Include this, and we can trace the problem quickly:
- workspace, project, service and environment names;
- the deployment ID (the
dpl-…hostname contains it); - the time range and what you expected to happen;
- the relevant log lines.
