Neon

N

Neon

The official Neon Database Discord

Join

🙏|feedback

❓|questions-and-answers

🐘|postgres

xenial-black
xenial-black7/7/2025

Timed out trying to acquire a postgres advisory lock

I get this for 4/5 deploys, even when I'm not running a migration. Why is this???
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.
...
adverse-sapphire
adverse-sapphire7/7/2025

Laravel Migration to Neon Error

When I try to migrate my laravel database to Neon's server, I keep getting this 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)
for context:...
equal-aqua
equal-aqua7/7/2025

Neon through neon.com vs vercel

Hi all, I was wondering if there was any difference between subscribing to neon through neon.com or using vercel to subscribe. Thank, Greg...
plain-purple
plain-purple7/6/2025

100$ credit usage?

does anyone know how i can use the $100 free credits?
flat-fuchsia
flat-fuchsia7/4/2025

all logs show success but db on neon does not update.

i. am. so. done. with. this. I have a db which has a table called 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: ...
protestant-coral
protestant-coral7/4/2025

Cant use Web UI

Error: Unable to preload CSS for /assets/assets/DatabaseSelect-BIVv97qo.css
eastern-cyan
eastern-cyan7/4/2025

NeonDbError: Error connecting to database: Failed to fetch

thsi is the error id : adab2f74a00a4eaa8a328b47cbc5a743 Is the database down currently?? Error connecting to database: Failed to fetch NeonDbError: Error connecting to database: Failed to fetch...
exotic-emerald
exotic-emerald7/2/2025

Vercel Integration not deleting merged-PR branch database

Hey there, I have Neon+Vercel integration set up for creating branched databases on each PR. The branches are created successfully, but they're not automatically deleted after the PR is merged. I noticed in the docs that there should be a "Branches" tab in the Vercel integration config, but I don't see one....
equal-aqua
equal-aqua7/2/2025

Cannot provision a Neon database via Azure Portal or Cli

Hi I'm evaluating Neon as an possible alternative for our organization and at the moment I'm having trouble starting with this because all my attempts to provision an instance are unsuccessful. Via Azure portal I get an generic error:...
No description
fascinating-indigo
fascinating-indigo7/1/2025

5-10s long queries, but Neon Query History shows 40ms or less?

Hi! I regularly run into queries that take up 10s, but Query History in Neon Console shows my slowest query at 40ms, and cold starts at 400ms. Is this expected performance with Neon? And if not, any idea what’s going on, or how best to troubleshoot? Running in a typescript app with @neondatabase/serverless. Thanks!
adverse-sapphire
adverse-sapphire7/1/2025

Configuration Tab Issue in UI

At > Auth > Configuration: The page keeps auto-scrolling and refreshing, I can't stop it, I tried deleting browser cache, and yet still not solved, here is the screenshot video attached
robust-apricot
robust-apricot6/30/2025

jdbc / ssl challenges in custom java17 jre

Howdy folks, was hoping to get some guidance on my current challenges. I am using jdbc to connect to an actian zen database for my source, and trying to write the resulting rowset to Postgres using jdbc to neon.tech. The architecture means I am having to use jlink to build a minimal java17 jre. I am getting a ssl connection failure, and so went and added the letsencrypt server certificate to the jre's keystore. I am still failing to connect. Do I need some sort of cert for my client? I am...
rival-black
rival-black6/29/2025

how to update the api i sent via postman using nodejs to neon db to visible in neondb tables

how to update the api i sent via postman using nodejs & express to neon db to be visible in neondb tables
generous-apricot
generous-apricot6/28/2025

Error: Error connecting to database: fetch failed (next.js)

My code: import { neon } from "@neondatabase/serverless"; async function getData() { if (!process.env.DATABASE_URL) { throw new Error("DATABASE_URL is not defined");...
No description
ambitious-aqua
ambitious-aqua6/27/2025

Something went wrong

Hi, I'm in the Overview tab of my project, and when I click on Connect, here is what happends....
No description
quickest-silver
quickest-silver6/27/2025

Compute usage limit warning on my personal website

Hello ... I would appreciate some help because in December I started getting the compute usage limit warning after months of using Neon without issues. I don't know what could be causing that or what could be wrong with my configuration or usage. I use neon to store views and reactions counts for the blog posts in my personal website. The database is one single table with 23 rows (one per blog post), yet the warning appears, and someone who forked my website is also getting the same warning....
sunny-green
sunny-green6/27/2025

Invitation BUG

I have been invited to join a neon organization. But despite me being already signed up to the neon account to which i was invited, the invitation link asks me to create an account.
ratty-blush
ratty-blush6/26/2025

We evaluated Neon using free account and now want to connect it to the plan we subscribed to

We evaluated Neon using free developer account and now want to connect it to the plan we subscribed to via AWS marketplace and I cannot figure out how to make that happen
ambitious-aqua
ambitious-aqua6/26/2025

Local delpoyment failed

I compiled the source code locally successfully, but an error occurred when executing cargo neon start, as shown in the figure.
No description