I am running into an error on self-hosted version 1.4.13. If I execute a function from the console, it runs successfully without any problems. But scheduling the function fails. Here are the relevant logs, the exception "Multiple internal curl errors has occurred within the executor! Error Number: 111. Error Msg: Connection refused" happens around the time I have scheduled the function for.
what's your code?
My code as in what the function does? It just writes some values to google sheet using an API.
Are you contacting any Appwrite services fron within your function?
None at all, it just uses one API to fetch data and another API to write data to google sheets. I just have a context.log
and context.res.empty()
at the end if everything is successful.
Also on an unrelated note, is there a way to change the timezone for an Appwrite instance?
As of now, not permanently You can try to change the server one
[Solved] Appwrite function cronjob execution fails.
Recommended threads
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...