504 error Connection Pool error I think

Randomly on my App platform app I’m getting a 504 error and it says “We encountered an error where trying to load your application and your page could not be served. Check the logs for your application in the App Platform dashboard.” But I didn’t see anything in the logs and this only started happening after I connected database to a connection pool. Please need help…I’m using react and nodejs with postgresql and prisma

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
December 2, 2022

Hi there,

I recently answered a similar question here:

If you have Trusted Sources enabled for your database you would need to make sure that your app is actually added to the trusted sources list as described here:

Regarding the connection pools, note that DigitalOcean currently does not support trusted sources with MongoDB or Postgres connection pools.



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up