Back

Appwrite is responding with `400` errors randomly for some endpoints

  • 0
  • Self Hosted
  • Functions
  • Web
LukeHagar
15 Feb, 2024, 21:12

The issue appears to be related to mysql

TypeScript
[Error] Timestamp: 2024-02-15T21:07:21+00:00
[Error] Method: POST
[Error] URL: /v1/functions/:functionId/executions
[Error] Type: PDOException
[Error] Message: MySQL server has gone away
[Error] File: @swoole-src/library/core/Database/PDOStatementProxy.php
[Error] Line: 62
[Error] Timestamp: 2024-02-15T21:07:21+00:00
[Error] Method:
[Error] URL: /favicon.png
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Execution error: Server Error
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 159
[Error] Timestamp: 2024-02-15T21:07:21+00:00
[Error] Method: POST
[Error] URL: /v1/functions/:functionId/executions
[Error] Type: PDOException
[Error] Message: MySQL server has gone away
[Error] File: @swoole-src/library/core/Database/PDOStatementProxy.php
[Error] Line: 62
[Error] Timestamp: 2024-02-15T21:07:21+00:00
[Error] Method:
[Error] URL: /_app/immutable/entry/app.tbqKaE35.js
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Execution error: Server Error
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 159
TL;DR
Appwrite is randomly responding with `400` errors for some endpoints. The issue appears to be related to MySQL, with the error message "MySQL server has gone away". Restarting the stack resolves the issue.
LukeHagar
15 Feb, 2024, 21:13

bringing the stack down and back up resolves the issue

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more