> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Square Cloud 应用故障排除 | 常见错误与修复方法

> 修复常见的 Square Cloud 错误：EADDRINUSE、Cannot find module、INVALID_DEPENDENCY、CONTAINER_TEMPORARILY_SUSPENDED、KEEP_CALM、Discord 机器人登录失败以及数据库连接错误。

你的应用启动失败或行为异常？在下方找到确切的错误信息。

下面的每个页面都按照 Square Cloud 在你的日志或控制面板中显示的字面错误信息或状态码进行组织，包括它的含义、发生原因，以及如何修复。

<CardGroup cols={2}>
  <Card title="应用无法启动" icon="server" href="/zh/platform/troubleshooting/app-wont-start">
    EADDRINUSE、Cannot find module、INVALID\_DEPENDENCY、CONTAINER\_TEMPORARILY\_SUSPENDED、KEEP\_CALM、better-sqlite3 绑定错误，以及 LACK\_OF\_RAM。
  </Card>

  <Card title="Discord 机器人错误" icon="discord" href="/zh/platform/troubleshooting/discord-bot-errors">
    LoginFailure / TOKEN\_INVALID、被禁用的 intents、Lavalink 错误代码 1006，以及本地正常运行但部署后离线的机器人。
  </Card>

  <Card title="数据库连接错误" icon="database" href="/zh/platform/troubleshooting/database-connection-errors">
    "Host is not allowed to connect"、MongoNetworkError / Atlas IP 白名单失败、连接超时、ECONNREFUSED，以及 SSL/TLS 错误。
  </Card>

  <Card title="限制与约束" icon="shield-dog" href="/zh/platform/limitations-and-restrictions">
    RAM/CPU 分配规则、网络限制、存储限制，以及 LACK\_OF\_RAM / LACK\_OF\_CPU 状态的完整详情。
  </Card>
</CardGroup>
