Documentation menu

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.

SymptomLikely causeFix
SOURCE_AUTH_FAILEDThe Git connection lost access to the repositoryReconnect the provider; for GitHub, check the App can see the repo (Git Integration)
Command not found / wrong versionAuto-detection picked the wrong runtimePin the version in your project files, or set install and build commands explicitly
Builds the wrong app in a monorepoRoot directory not setSet the root directory; enable "include files outside root" for shared packages
Killed / out of memory during buildThe build uses more memory than availableReduce build parallelism, or split heavy steps
Fails only on ParslinksUntracked or ignored files, or a missing variableReproduce 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:

  1. Open the Deploy logs and the new replica's runtime logs.
  2. Check the app listens on 0.0.0.0 and the configured port (read PORT from the environment).
  3. Check the health check path exists and answers 2xx/3xx quickly, without depending on slow external calls.
  4. 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

CodeMeaningWhat to do
PROBE_FAILEDReplicas start but fail the health checkSee above
IMAGE_PULLThe image cannot be pulledCheck tag and registry credential (Images & Registries)
INSUFFICIENT_MEMORY / INSUFFICIENT_CPUNo host has room for the requested limitsLower the limits or contact support
VOLUME_REPLICA_LOCKA volume is attached, so only 1 replica can runKeep 1 replica, or remove the volume and keep state elsewhere
NO_NODESNo runtime host available in the regionContact support

502, 504 or timeouts

Work through the chain from the edge inwards:

  1. Is a replica ready? The service panel shows ready replicas. No ready replica means no upstream.
  2. Right port? Each domain forwards to the port stored on the domain. It must match the port your app listens on.
  3. Slow responses? Long-running requests should stream or run in a background worker.
  4. 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-verify TXT 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.