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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...