I've noticed that just randomly I'll start getting appwrite-executer errors, I need to then do docker down and docker up to get the functions to work again.
It seems to work, then I'll get the error
Empty reply from server with status code 0\nError Code: 0
After I get that error every subsequent run gets this error
Could not resolve host: appwrite-executor with status code 0\nError Code: 0
Any idea on what I've done wrong to have this happen?
Also to add to this, I ran the update command to update from 1.3.8 -> 1.4.0 -> 1.4.1 -> 1.4.2. Self hosted on DigitalOcean.
same here
not sure why its happening randomly 🤔
I've had it happen twice, but I couldn't see anything that really connected them together.
Are you scheduling the function?
There was a bug, caused by not having the _APP_OPENSSL_LEY_V1 in the composer file. Not having it, eventually make the env vars end up being false.
The PR is already merged https://github.com/appwrite/appwrite/pull/6199
It's expected for 1.4.3, but you can manually apply this fix, to check if solves your problem
In my case it's http trigger
It's pretty bad because stuff like user creation in database is done through the cloud function and it constantly fails till I don't do docker compose up -d
For now it's fine again
Yes it's scheduled every 10 minutes. Will look into implementing this, thanks!
Try adding the fix, do you have any error in the console?
only see this
and sure will add the fix
what runtime do you use?
is it an old function or new?
New function that uses node 18, it's set on a schedule to run every 10 minutes.
can you share your code?
anything in the docker logs for your openruntimes-executor container or your runtime container?
is your function maybe timing out?
It's set for a 600 second timeout.
It seems to work fine but once it hits this error it will not work again until i restart the docker.
Recommended threads
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- Error trying to deploy functions from CL...
✗ Error • on-auth-create (6a00b2ab000c9ce2949b) • Server Error ✗ Error: No functions were pushed. Prject ID: 69ffe0270033a4ac420a
- Intermittent Deploy and Execution Errors...
Project: project-fra-658e2f5f4ba30df91177 Function ID: 69bde006001c56757f49 **Several execution errors with:** Timed out waiting for runtime.\nError Code: 400...