© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Error connection terminated unexpectedly - Neon
N
Neon
•
3y ago
•
12 replies
brilliant-lime
Error connection terminated unexpectedly
Hi
New user of neon here
.
I am trying to connect to a DB from a local nextjs execution using the
@neondatabase/serverless
@neondatabase/serverless
But I always get
Error: Connection terminated unexpectedly
Error: Connection terminated unexpectedly
When i connect with psql its working well
.
and even when im connecting with pg but without the nextjs
.
full stack is
: NextJS14
& Kysely
Would love to know what I am doing wrong
.
Neon
Join
The official Neon Database Discord
10,545
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Uncaught Exception: Error: Connection terminated unexpectedly
N
Neon / ❓|questions-and-answers
14mo ago
connection terminated on vercel
N
Neon / ❓|questions-and-answers
17mo ago
Connection Error
N
Neon / ❓|questions-and-answers
10mo ago
Lots of "SSL connection has been closed unexpectedly" errors
N
Neon / ❓|questions-and-answers
2y ago