Skip to content

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

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:

你也可以通过Prometheus端点 / Grafana图表设置警报来监控重要资源。

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