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
- Functions executed by events does not ap...
Hello, Running self-hosted Appwrite version 1.9.0 (with console 7.8.26). When functions are triggered by an event (eg. databases.\*tables.\*.rows.\*.create) doe...
- Updating GitHub App access throws error
Steps to reproduce - 1. Have some private repos allowed on the install access 2. New Site/Func > Connect GitHub > see the side card saying `Missing a repo` > cl...
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?