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
- Dockerizing Appwrite Console Yields Page...
I have this Docker Compose file: ``` services: # Band9Buddy app band9buddy: build: context: . dockerfile: Dockerfile.dev develop: ...
- Upgrading Appwrite 1.7.4 → 1.8.x: What H...
I'm currently running a self-hosted Appwrite v1.7.4 instance that still uses the old Collections/Documents database model. I noticed that starting from v1.8.x,...
- Domain not working
My domain [fork-fable.appwrite.network](https://fork-fable.appwrite.network/) returns a 500 even after deleting and redeploying. Other domains added in domains ...
