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
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Python Function Deployment hits General ...
The same deployment was working without issue yesterday and I have not hit any free tier limits yet. How do I figure out what's happening? Are you having issues...