Loosing Connection to Server "Randomly"

My production environment works fine for a couple days, then seemingly randomly when I try to connect to it, it can't load any of our endpoints or reach our code. Nothing is crashed, and there's nothing in the Observability tab indicating that it received the endpoint (normally logs it). When we redeploy with everything the same, things are completely fine, until it happens again in a day or so. This has happened a couple times. Help would be greatly appreciated!
12 Replies
Percy
Percy9mo ago
Project ID: N/A
Brody
Brody9mo ago
discord is telling me you are on the trial plan, is this correct?
cass126r
cass126rOP9mo ago
Our actual project is not, its through a different account. Project id: c210dce8-37af-4bf0-b1e0-7e28b30597c6
Brody
Brody9mo ago
whats the account type your project is running on
cass126r
cass126rOP9mo ago
Hobby
Brody
Brody9mo ago
it can't load any of our endpoints or connect to the server.
what does "it can't load any of our endpoints" mean in practice? "or connect to the server" what server?
cass126r
cass126rOP9mo ago
Things just load forever, and the endpoint requests from the app don't seem to ever actually reach our code (since it isn't logging).
Brody
Brody9mo ago
seems like your app is soft locking, do you have some debug or verbose logging to turn on?
cass126r
cass126rOP9mo ago
I believe everything is on. The only error that seems to pop up around the time it crashes is: "Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection-pool (Current connection pool timeout: 10, connection limit: 33)" Could that be part of the problem?
Prisma
Connection pool
Prisma ORM's query engine creates a connection pool to store and manage database connections.
cass126r
cass126rOP9mo ago
But one note: this shows ocasioanlly but multiple times before we experince the issue (3 times over an hour or so). So I figured it was a seperate problem
Brody
Brody9mo ago
i would work towards fixing that issue first and see where that takes you
cass126r
cass126rOP9mo ago
Yeah I'll definitly do that, working on it now. Thanks!
Want results from more Discord servers?
Add your server