Skip to main content
SpringWinter SQL and Valkey resources use private project networking. A laptop timeout does not establish a database outage. Identify whether the client is a project task or a local client using an explicitly opened tunnel, then separate routing, TLS, authentication and application pooling.

Diagnose by error layer

Read AWS RDS troubleshooting and ElastiCache Serverless connection guidance. Do not follow a public-database workaround when a private connection is the intended architecture.

Inspect configuration without exposing it

Check that required variable names exist in the runtime scope. Build variables do not automatically become runtime credentials. Never print the full environment or a URL with username/password into chat, logs, screenshots or GitHub issues. For browser code, NEXT_PUBLIC_* and VITE_* are public values and must not contain database or provider secrets. Use SpringWinter’s database Connect view for the correct writer/reader target and explicit tunnel controls where supported. Close a tunnel after use. A reader endpoint is not a writer; read replicas and failover standbys have different roles. AWS resource state can be available while an application still has the wrong credentials or schema.

Plan the connection budget

Calculate web task copies × processes per task × pool size, then add worker pools, migrations, monitoring and administrative headroom. This is a concurrency budget, not a promise that the database supports that many connections. Check the selected engine/class limit and application transaction duration. A task-count increase can exhaust the database even when CPU looks healthy. For Valkey, check cluster compatibility, TLS, supported commands and logical database 0. Durable job state and acknowledged results need an explicit recovery design; a cache is not automatically a reliable backup.

Test safely and verify recovery

Create a new isolated database or complete disposable copy for connection and migration experiments. Do not run troubleshooting queries, migrations or fixtures against an existing database under this guide. Use the reviewed application’s ordinary health/readiness behavior for live verification through authorized product controls. Verify a representative application operation with synthetic test data in the approved test environment. Test reconnect after a planned task or database change, check error rates and confirm pool release. Never claim backup recovery from a successful connection alone. See SQL databases, caches, environment variables, full-stack deployment and compatibility.