I started getting this error quite often and it is affecting my platform a lot, it says "Operation timed out after 30001 milliseconds with 0 bytes received with status code 0\nError Code: 0"
What is happening?
Are you cloud or self hosted?
Im self hosted on a digitalocean droplet
What version? Are you getting any errors in the container?
My appwrite version is 1.4.7 and let me check my container to see if there are any errors
Do you by any chance remember the commands I have to do in the console to see the container logs? I'm somewhat new to Docker
docker compose logs appwrite
are you executing a function from your function?
I am not executing another appwrite function within my function, but I am fetching a document from a collection
It started happening with some last changes I made to the function:
The first is that it decrypts the payload that I sent to the function using a library called crypto-js
And the second thing I added is that would get an appwrite document and then after having the response from the appwrite document, I fetch an API and finally return the res.json
After those 2 changes the problem started to happen, I hope this information is useful to find out what the problem is
so you're function is probably taking longer than 30s to execute synchronously, which is no longer allowed
i highly suggest avoiding using then
. There could be some unexpected behavior with how the promises are handled
Oh okay I'll change that
It could be because of the function that decrypts the payload... maybe it takes longer than expected, I'll see how I can fix it
Recommended threads
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...
- Create admin user?
I'm not really sure how this is supposed to work, I installed Appwrite through docker-compose and set it up. When I launched the app and went into it, I created...