Intermittent Database Connection Issues

My Discord.JS-based discord bot which uses Prisma is sometimes connecting to my Postgres database and other times randomly drops connection and cannot reconnect. Is there a reason this would happen?
6 Replies
Percy
Percy13mo ago
Project ID: b5ce41db-36ad-436f-9fae-e1ecd5f7d1a3
TheCdoubleOL
TheCdoubleOLOP13mo ago
b5ce41db-36ad-436f-9fae-e1ecd5f7d1a3
TheCdoubleOL
TheCdoubleOLOP13mo ago
This is the Prisma error that I am seeing. It has connected to the database before, but it lost connection at some point and has not been able to reconnect. I did not change anything during this time
No description
TheCdoubleOL
TheCdoubleOLOP13mo ago
I should also note that my API server is running off of the same database and it has no problems connecting right now
TheCdoubleOL
TheCdoubleOLOP13mo ago
I recreated a new Postgres service (one that is updated and had a private url) and it still was unable to connect
No description
TheCdoubleOL
TheCdoubleOLOP13mo ago
And it is the same for the public URL for the new database service
No description
Want results from more Discord servers?
Add your server