VOriginal post
Rank 1: Thread
I need some help getting my functions to work. This is on a fresh 1.7.4 install. All functions i try to run result in an error Internal curl error has occurred within the executor! Error Number: 7\nError Code: 500 and the appwrite-worker-functions logs show
[Job] (68ac4016cf18c9.78627971) failed to run.
[Job] (68ac4016cf18c9.78627971) Internal curl error has occurred within the executor! Error Number: 7
[Error] Type: Exception
[Error] Message: Internal curl error has occurred within the executor! Error Number: 7
[Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Functions.php
[Error] Line: 617
currently im testing with python3.12, 15s timeout with this code
def main(context):
context.log("function reached runtime")
return context.res.json({"ok": True})
the error occurs after 12-15s runtime
Summary
Developers encountering `Internal curl error 7` in functions on a fresh 1.7.4 install are facing issues where functions fail to run, timing out after 12-15 seconds. The appwrite-worker-functions logs indicate this issue. One potential solution is to increase the timeout duration in the function's script, such as setting it higher than the current 15-second timeout.