Error: Failed to run sql query: Connection terminated due to connection timeout

Last edited: 11/14/2025

Failed to run sql query: Connection terminated due to connection timeout

This error typically happens when the database is overloaded and causing an outage. As the database does not respond in a timely manner there can be a variety of symptoms such as tables not loading, error messages related to retrieving data and the dashboard seems to be unresponsive.

Review the appropriate guides based on your scenario:

You can also set up alerts using a Prometheus endpoint / Grafana charts to monitor vital resources.