Need help with db connection terminating

I need help with this error I’ve been having for weeks now. My Strapi is deployed as a web service and it’s connected to a Postgres database hosted by Render. This error happens multiple times a day. I’m assuming this SQL query is failing: I don’t know why it’s being called and why it’s failing.

Hi Daniel,

It seems there’s a related thread on the Strapi repo about this error. https://github.com/strapi/strapi/issues/11741

It sounds like this may happen if the service or database doesn’t have enough resources - note Strapi’s recommended resource requirements: https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/deployment.html#general-guidelines. It also might be worth looking into your Strapi database config to see if you need to fine tune any connection settings.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.