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
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?