Back
Operation timed out after 30000 milliseconds with 0 bytes received with status code
- 0
- Self Hosted
- Functions

I get error like this, but i have a hard function, which execute for ~1 minute. I set timeout 120sec in console. But I read that synchronous executions has max timeout 30sec. How can I execute my python function async?
TL;DR
Title: 'Operation timed out' error when trying to execute a lengthy function
Developers are experiencing an error where their function times out after 30 seconds, even though they have set the timeout to 120 seconds in the console. They want to know how to execute their Python function asynchronously.
Solution: To execute the Python function asynchronously, developers can use asynchronous programming techniques such as using the asyncio library or implementing multi-threading. This allows the function to run in the background while other code continues to execute. Additionally, they can consider optimizing the function to reduce its execution time and improve efficiency.
But my function should return a result
Recommended threads
- ENV vars not updating
When i do `nano .env` it shows `_APP_DOMAIN_TARGET=` as set to my domain, but when i do `docker compose exec appwrite vars` it shows `_APP_DOMAIN_TARGET=` as ...
- Index with the requested key already exi...
I'm using appwrite cli to create DB and I'm getting index_already_exists Is there a way to undestand the index name and maybe to skip if it's already exits?
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
