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
- Cannot create cloud function due to this...
As I try to deploy a new function to Github I get this error message: ``` Unable to clone code repository: fatal: ' ' is not a valid branch name hint: See `man ...
- How to use TS for creating appwrite func...
I was making a few appwrite functions but on doing the appwrite init setup process i always got main.js. Is there any way i can use TS?
- Synchronous Function Execution Timed Out...
Hi Appwrite team 👋 I’m facing a synchronous function execution timeout issue on Appwrite Cloud and would appreciate some guidance. I executed this function u...