Back
Appwrite is responding with `400` errors randomly for some endpoints
- 0
- Self Hosted
- Functions
- Web
LukeHagar
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
bringing the stack down and back up resolves the issue
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...