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 am I receiving 520 status codes from my app?

Your app may have crashed while trying to receive an upload or return a response larger than it has been configured to manage.

Why am I receiving a forbidden error when making changes to my App Platform app?

Your team balance may be past due. Pay your balance to lift restrictions on actions you can take on the platform.

Why does my app not restart when it fails a health check?

If an app’s health check fails, the app currently does not restart. This is because App Platform does not currently support liveness probes. An app only automatically restarts if the app crashes or if its disk or RAM usage exceeds the its limits.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.