N
Neon5mo ago
metropolitan-bronze

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
genetic-orange
genetic-orange5mo ago
yeah a few of my DBs arw down as well
metropolitan-bronze
metropolitan-bronzeOP5mo 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
constant-blue
constant-blue5mo ago
Are yours stuck spinning up CUs? Our main branch is stuck at Pending
metropolitan-bronze
metropolitan-bronzeOP5mo ago
This is testing with just pg and not prisma
genetic-orange
genetic-orange5mo ago
my branches are also pending with the same error message
metropolitan-bronze
metropolitan-bronzeOP5mo ago
Damn, this is only happening with my production branch as well. All of my children are fine?
genetic-orange
genetic-orange5mo 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?
deep-jade
deep-jade5mo ago
experiencing this too wtf db is down
metropolitan-bronze
metropolitan-bronzeOP5mo ago
No description
metropolitan-bronze
metropolitan-bronzeOP5mo ago
I don't even have any connections right now since I can't connect this is since 9:20 ish
constant-blue
constant-blue5mo ago
Us too, noticed around 9:40 et I think we're back!
metropolitan-bronze
metropolitan-bronzeOP5mo ago
ah us-east-2 incident reported by neon?
genetic-orange
genetic-orange5mo ago
still not working

Did you find this page helpful?