Getting Connection closed. randomly
prisma.salesOrder.findMany()
including a bunch of other tables (not ideal I know).
When we use order by
in this operation, we get "Connection closed.". Things I have done so far:
- Changing the connection string from connect_timeout=15&connection_limit=20&pool_timeout=60
to connect_timeout=60&connection_limit=30&pool_timeout=0
...How to have both RLS via JWT and interactive transactions?
authToken
while initializing the database. But then we'll get No transactions support in neon-http driver
.
So I am just a little confused on whether we can have both RLS and interactive transactions. One thing I've tried is just passing the JWT token as a local session variable inside each transactions, which allowed the RLS policies to work while keeping our existing interactive transaction. But I am wondering if there's a better way to do it than that
TIA...Question about data recovery
Control plane request failed
node-cron
running at UTC 00:00
```
{
"code":"XX000",...quota
When is Supabase Auth-like SMS/email OTP delivery coming to Neon Auth?
Need help in connecting and referencing table in `neon_auth` schema
users_sync
under neon_auth
schema. I am having a problem while connecting to this schema. My Drizzle config defaults to public
schema and creates a new table named users_sync
.
Here is my table structure in Drizzle,
```
import {
pgTable,...I am trying to reach the sales team for a couple days but there is no response
Neon branches for custom vercel environments
Payment Support team not responding for days
Vercel < > Neon Integration for Branching on Preview Deploys not working (possible bug)

Timed out trying to acquire a postgres advisory lock
Context: Timed out trying to acquire a postgres advisory lock (SELECT pg_advisory_lock(72707369)). Elapsed: 10000ms. See https://pris.ly/d/migrate-advisory-locking for details.
Context: Timed out trying to acquire a postgres advisory lock (SELECT pg_advisory_lock(72707369)). Elapsed: 10000ms. See https://pris.ly/d/migrate-advisory-locking for details.
Laravel Migration to Neon Error
SQLSTATE[25P02]: In failed sql transaction: 7 ERROR: current transaction is aborted, commands ignored until end of transaction block (Connection: pgsql, SQL: alter table "provinces" add constraint "provinces_country_id_foreign" foreign key ("country_id") references "countries" ("id") on delete cascade)
SQLSTATE[25P02]: In failed sql transaction: 7 ERROR: current transaction is aborted, commands ignored until end of transaction block (Connection: pgsql, SQL: alter table "provinces" add constraint "provinces_country_id_foreign" foreign key ("country_id") references "countries" ("id") on delete cascade)
Neon through neon.com vs vercel
all logs show success but db on neon does not update.
users
, when i login with clerk, it makes a user. after login, the website takes the user to /onboarding
where the user has to enter additional information like phone number, postcode and "about me." on submit, the db should be updated with the new details, for the same user, on the same users
table. but it is not happening.
I have taken logs from the frontend and the backend with all returning status 200 with all the right details in json format. the db connection is working as well, checked with a simple GET API route and by running pnpm prisma studio
. The status 200 logs: ...NeonDbError: Error connecting to database: Failed to fetch
Cannot read file '/node_modules/.pnpm/@neondatabase+api-client@2.1.0/node_modules/tsconfig.base.json