
Hello, I have a random error when executing a function.
The function is never executed & I get this error when showing logs from appwrite container:
TypeScript
[Error] Timestamp: 2024-04-19T06:00:24+00:00
[Error] Method: POST
[Error] URL: /v1/functions/:functionId/executions
[Error] Type: PDOException
[Error] Message: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
[Error] File: @swoole/library/core/Database/PDOStatementProxy.php
[Error] Line: 44
[Error] Type: Utopia\Exception
[Error] Message: Error handler had an error: Appwrite\Extend\Exception::__construct(): Argument #3 ($code) must be of type ?int, string given, called in /usr/src/code/app/controllers/general.php on line 711
[Error] File: /usr/src/code/vendor/utopia-php/framework/src/App.php
[Error] Line: 574
TL;DR
Developers encountering MySQL server has gone away error when running a function. The function doesn't execute and logs show SQLSTATE[HY000]: General error: 2006. The error is in PDOStatementProxy.php. Issue might be related to the database connection. Check server settings and increase max_allowed_packet.Recommended threads
- I am getting a 401 unauthorized response...
I have a Next.js application that stores user PDFs. I'm able to save them normally, but when trying to access the files using getFileView, I get a 401 Unauthori...
- Error sending push message from dashboar...
I am trying to implement appwrite fully into my app and am switching over from firebase. I registered FCM as a Provider and tried to send a push message via the...
- Self hosted cors block , flutter web
we have appwrite instance running on a VPS with ip of 192.168.1.75 on Docker ! then i have add A record in cloudflare and mapped the ip to domain of app.kajel...
