N
Neon3mo ago
correct-apricot

Connection timeout. Cannot connect to main branch, but children are fine?

Can't reach database server at ep-odd-king-a5angu2l-pooler.us-east-2.aws.neon.tech:5432 Please make sure your database server is running at ep-odd-king-a5angu2l-pooler.us-east-2.aws.neon.tech:5432. Have seen this a ton, but usually it goes away. Now have my production server down. Any reason why this would be happening? Tried increasing the conenction timeout to 20s but no luck. Using prisma
13 Replies
afraid-scarlet
afraid-scarlet3mo ago
yeah a few of my DBs arw down as well
correct-apricot
correct-apricotOP3mo ago
ryanbrwr@Ryans-MacBook-Pro atlas % bun test-database-connection.ts Attempting to connect to database... ❌ Database connection failed: 33 | name: 'copyDone', 34 | length: 4, 35 | }; 36 | class DatabaseError extends Error { 37 | constructor(message, length, name) { 38 | super(message); ^ error: Failed to acquire permit to connect to the database. Too many database connection attempts are currently ongoing. code: "XX000" at new DatabaseError (/Users/ryanbrwr/repos/atlas/node_modules/pg-protocol/dist/messages.js:38:9) at parseErrorMessage (/Users/ryanbrwr/repos/atlas/node_modules/pg-protocol/dist/parser.js:285:113) at parse (/Users/ryanbrwr/repos/atlas/node_modules/pg-protocol/dist/parser.js:52:33) at emit (node:events:201:48) at addChunk (node:stream:2044:22) at readableAddChunk (node:stream:1998:30) at data (node:net:120:9) Get this? Even though my db has no active connections right now according to the monitoring
vicious-gold
vicious-gold3mo ago
Are yours stuck spinning up CUs? Our main branch is stuck at Pending
correct-apricot
correct-apricotOP3mo ago
This is testing with just pg and not prisma
afraid-scarlet
afraid-scarlet3mo ago
my branches are also pending with the same error message
correct-apricot
correct-apricotOP3mo ago
Damn, this is only happening with my production branch as well. All of my children are fine?
afraid-scarlet
afraid-scarlet3mo ago
for me only happening with my dev db not prod yet I think US east 2 is down US east 1 is working fine can you change locations?
optimistic-gold
optimistic-gold3mo ago
experiencing this too wtf db is down
correct-apricot
correct-apricotOP3mo ago
No description
correct-apricot
correct-apricotOP3mo ago
I don't even have any connections right now since I can't connect this is since 9:20 ish
vicious-gold
vicious-gold3mo ago
Us too, noticed around 9:40 et I think we're back!
correct-apricot
correct-apricotOP3mo ago
ah us-east-2 incident reported by neon?
afraid-scarlet
afraid-scarlet3mo ago
still not working

Did you find this page helpful?