Skip to content
Back

Functions Internal curl error 7

  • 0
  • Self Hosted
  • Functions
V
25 Aug, 2025, 10:59

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

TypeScript
[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

TypeScript
def main(context):
    context.log("function reached runtime")
    return context.res.json({"ok": True})

the error occurs after 12-15s runtime

TL;DR
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.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more