Why is my app's database connection timing out?

Validated on 17 Jan 2025 • Last edited on 13 Feb 2025

High CPU utilization can cause timeouts between your app and database. Check your app’s CPU utilization and, if your app is using most of its CPU, consider either scaling your app to have additional CPU resources or reducing concurrency in your app to reduce the CPU load.

If your app is not using most of its CPU, check your app’s connection configuration and ensure it is correct. If you’re using a DigitalOcean Managed Database, review your connection parameters.

Why do I get the error “JavaScript heap out of memory” during deployment?

Increase the heap memory by setting the environment variable NODE_OPTIONS=–max-old-space-size=4096.

How do I fix a "permission denied for schema public" error in my dev database?

Delete the existing dev database and create a new one. Then make sure that the app deployment completes successfully.

Why do I get the error "Domain Already Exists" when trying to add a domain to an app in another account?

You cannot add the same domain name to multiple apps or split an app and domain name across more than one account.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.