Database branch timing out — can't connect to DB, run queries, or see tables
🔢DB Connectionsstorage🌲branching
My staging branch is completely unresponsive. Every time I try to connect, I get:
Failed to retrieve tablesError: failed to get pg.tables: Connection terminated due to connection timeout
Failed to retrieve tablesError: failed to get pg.tables: Connection terminated due to connection timeout
I can't see any databases, tables, or run any queries. The Neon console just hangs on the staging branch entirely.
---
What I've already tried
- Restarted the staging branch - Refreshed the browser
---
What's working
- My
main
main
(production) branch works perfectly fine with no issues
---
Key difference between the two branches
-
main
main
= Macro compute size -
staging
staging
= Nano compute size
I suspect the Nano compute might be hitting resource limits or taking too long to cold-start, causing the connection to time out before it can be established — but I'm not sure.
---
Questions
1. Is this a known issue with Nano compute branches timing out on cold starts? 2. Is there a minimum warmup time I should wait after restarting a Nano branch? 3. Are there any settings I can tweak to prevent this (e.g., auto-suspend delay, connection pooling)? 4. Should I upgrade staging to Macro to match production, or is there a workaround?
Any help appreciated — staging is completely blocked right now.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.