Anything in the logs appwrite or executor logs?
The second screenshot is the execution log, only Errors tab is filled, I'm using appwrite cloud.
Are all the execution errors the same?
yes
and almost all takes 8 seconds
when it fails
the code is very simple, I create few documents in a collection. After redeploy I can run the function with the same parameters that works normally.
What's your project id?
champz
function id is createChatRooms
actually, I create some collections (without documents) in a database.
What's your code for that?
this execution id 651c72c1ebac85bd5f3d had received only 1 chat room to create. Like other executions. The maximum amount of chat rooms I sent to that function is 40. If I run now with 40, it works fine.
any other info on timing? does always fail after an hour? or is it only certain times throughout the day?
I doesn't seem to fail always after a specific time frame. I created this function today. So I will keep watching tomorrow if I can find a pattern.
btw, createCollection() and the create attributes can stall and timeout if there is DB maintenance going on
hmm, how db maintenance works?
now it fails just some times.
Yesterday, the function was always failing with 8s, and no group chats were created. Today the function is sometimes failing by timeout, but the chat groups are created.
Hey, why is the server ignoring the timeout I put for that function? I set 60s
same time, every day for about an hour
yes, there's been a change to synchronous function executions such that they will timeout after 30s
you should probably switch it to async
Recommended threads
- Feedback and Deployment Challenges with ...
Hello world!, I've been developing a project using FastAPI in Python, and I was considering deploying it through Appwrite Functions. However, I encountered a f...
- Bulk feature status
Hi there, I am using version 1.7.4 self hosted and wanted to use the bulk operations in a dart function. I saw that in the dart_appwrite sdk version 16.1.0 it ...
- CORS preflight returns 500 on Dart funct...
Hey everyone π Iβm running a Dart cloud function, Every time I respond to a preflight (OPTIONS) request, I get a 500 internal error, and the logs show: ```NoSu...