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
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...