Function gets stuck, doesn't terminate. It executes everything but then throws 30s sync timeout.
- 0
- Self Hosted
- Functions
I have random occurrences of sync function executions not terminating. I added a test log message right before the return res.json(response, 200, headers); (last line of the function).
While logs don't show in the exeucution view in Appwrite Console, because there it only shows the timeout error (see screenshot), they do show in Sentry. And that test log is being sent, which means the function executes until that line before return statement.
Also, the actual database operations of this function get done.
So it basically does everything it should, but somewhere (on the client perhaps?) completion of the function is not detected. And the 30s sync timeout error gets thrown.
Self-hosted setup with server specs: 4 vCPU 8 GB RAM 40 GB Disk local
Function is not heavy, some db operations. If successful, it finishes in approx. 500ms.
Recommended threads
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...