Podgorski
DTDrizzle Team
•Created by Podgorski on 2/26/2024 in #help
Drizzle Studio - Timeout - PG - NEON
Hi, I using Drizzle with Neon in Vercel. The current drizzle version is:
drizzle-kit: v0.20.14
drizzle-orm: v0.29.3
I had this error, when run drizzle studio locally, or when I try run my application
Error: connect ETIMEDOUT 205.251.197.189:5432
After some reloads, sometimes works, appears be intermittent.
In my ENV has:
pooler.us-east-2.aws.neon.tech/database?sslmode=require
and
import { neon } from '@Neondatabase/serverless';
import { drizzle } from 'drizzle-orm/neon-http';
...
const sql = neon(process.env.DATABASE_URL!);
export const db = drizzle(sql, { schema });
export from "drizzle-orm";
------------------------------------------
Someone could help me?
2 replies