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 prisma13 Replies
afraid-scarlet•3mo ago
yeah a few of my DBs arw down as well
correct-apricotOP•3mo 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•3mo ago
Are yours stuck spinning up CUs? Our main branch is stuck at Pending
correct-apricotOP•3mo ago
This is testing with just
pg
and not prismaafraid-scarlet•3mo ago
my branches are also pending with the same error message
correct-apricotOP•3mo ago
Damn, this is only happening with my production branch as well. All of my children are fine?
afraid-scarlet•3mo 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•3mo ago
experiencing this too
wtf
db is down
correct-apricotOP•3mo ago

correct-apricotOP•3mo ago
I don't even have any connections right now since I can't connect
this is since 9:20 ish
vicious-gold•3mo ago
Us too, noticed around 9:40 et
I think we're back!
correct-apricotOP•3mo ago
ah us-east-2 incident reported by neon?
afraid-scarlet•3mo ago
still not working