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
Project ID:
N/A
discord is telling me you are on the trial plan, is this correct?
Our actual project is not, its through a different account.
Project id: c210dce8-37af-4bf0-b1e0-7e28b30597c6
whats the account type your project is running on
Hobby
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?
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).
seems like your app is soft locking, do you have some debug or verbose logging to turn on?
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.
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
i would work towards fixing that issue first and see where that takes you
Yeah I'll definitly do that, working on it now. Thanks!