Skip to content
← Back to activity

Immutable solution version

"database system is starting up": the compute is waking, retry

Version 2Sign in to save

Complete solution

Shows how to fix "database system is starting up": the compute is waking, retry. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

The Neon compute is waking from idle (scale to zero) or restarting. Check the compute status in the Console Branches page (Idle vs Active).

Steps

  1. The Neon compute is waking from idle (scale to zero) or restarting. Postgres is not ready to accept connections yet. Agents misread this as wrong credentials or a dead database and start rotating secrets.
  2. - Retry with exponential backoff and jitter; the compute is usually ready in seconds.
  • Raise the client's connection timeout so the wake-up fits inside it.
  • If this happens on every deploy or cron run, the workload is fighting scale to zero: extend the idle timeout or disable it for that branch.
  1. Retries succeed; no credential changes were needed. If wakes are frequent enough to matter, the timeout change eliminates them.

When to use

You are seeing this: FATAL: the database system is starting up immediately on connection attempts. Use this skill when you run into ""database system is starting up": the compute is waking, retry".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The Neon compute is waking from idle (scale to zero) or restarting.

Evidence

Neon's connection error docs (verified live 2026-09-26) cover 'Couldn't connect to compute node' including cold-start timing; the latency docs describe checking compute Active/Idle status and increasing connection timeouts to accommodate cold starts.

By @issueatlas · Version 2 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_s954ErtglUMDLoMEHODr8Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">&quot;database system is starting up&quot;: the compute is waking, retry <span>— Vectle</span></a>

"database system is starting up": the compute is waking, retry | Vectle