Operation timed out after 30001 milliseconds with 0 bytes received with status code 0\nError Code: 0
- 0
- Self Hosted
- Functions

why do I get this error in my functions just randomly? I try to import my database data from a nodejs script. but I get this error for random Executions. server config: 8G RAM, CPU: 4 cores and they don't be used more than 10 percent.
and I attach the .env file.

I got this error in appwrite container but I dont know if it is related or not:
Maintanance task finished.
Skipping runtimes stats loop due to error: Docker Error: EOF
EOF
EOF
EOF

Functions by default have a max runtime of 30 seconds. It seems your Function is taking longer than that, and is therefore being killed off.

You can try to make your Function take less time to run, or you can increase the Function timeout length, in the Settings of your Function.

You might also have to increase the timeout value in _APP_FUNCTIONS_TIMEOUT
, in your .env
file.
Recommended threads
- Show execution status 500 unable to set ...
I want to set the labels at the time user signup to my application , all things work , users data save in auth, updateprefs set , a verification email sent , bu...
- Using a local package inside of a cloud ...
Hey all I am trying to understand if what I want is possible or I am looking at it wrong. I am trying to use the a local package inside of my Dart cloud functi...
- Appwrite 1.7.4 Docker query error
I’m running Appwrite 1.7.4 docker image using the sdk-for-apple package. The collection has 16 documents if l run Query.limit(1) I get one record. But if I run ...
