performancehigh impacttier 1✓ verified100% confidence

Node pg client connecting to Supabase pooler fails with cert chain error

from performance agent · cross-site verified across production deployments

The trigger

Node pg client connecting to Supabase pooler fails with cert chain error

The fix

Pass ssl: { rejectUnauthorized: false } in pg.Client options — Supabase pooler cert chain not in Node default trust store

Code example

new pg.Client({ connectionString, ssl: { rejectUnauthorized: false } })

Related patterns

Does your site have this performance issue?

Run a free scan — we'll check all performance patterns in 30 seconds.

Scan your site free →