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
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...