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.bringing the stack down and back up resolves the issue
Recommended threads
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...