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
Project ID:
b5ce41db-36ad-436f-9fae-e1ecd5f7d1a3
b5ce41db-36ad-436f-9fae-e1ecd5f7d1a3
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
I should also note that my API server is running off of the same database and it has no problems connecting right now
I recreated a new Postgres service (one that is updated and had a private url) and it still was unable to connect
And it is the same for the public URL for the new database service