Please check the attached screenshots.
I have a node function that takes around 120 seconds to complete the task. In the Appwrite console, I set the Timeout value to 240 sec, and in the docker env file the timeout variable is set to 900 seconds. However, the function throws the timeout error after 60 seconds of execution.
Functions are not setting the timeout as per the configuration in 1.4.2
what's that full error?
Traceback:
#0 /usr/local/vendor/utopia-php/framework/src/App.php(460): {closure}('appwrite-execut...', '{"abc...', '/', 'POST', Array, 240, 'openruntimes/no...', '/storage/builds...', 'dist/main.js', Array, 0, 0, 'v3', 'cp /tmp/code.ta...', Object(Swoole\Table), Object(Utopia\Swoole\Response), Object(Utopia\Logger\Log))
#1 /usr/local/vendor/utopia-php/framework/src/App.php(659): Utopia\App->execute(Object(Utopia\Transaction), Object(Utopia\Route), Object(Utopia\Swoole\Request), Object(Utopia\Swoole\Response))
#2 /usr/local/app/http.php(1317): Utopia\App->run(Object(Utopia\Swoole\Request), Object(Utopia\Swoole\Response), Object(Utopia\Transaction))
#3 [internal function]: {closure}(Object(Swoole\Http\Request), Object(Swoole\Http\Response))
#4 {main}
Error Message: An internal curl error has occurred within the executor! Error Msg: Connection reset by peer
where is this from?
I have configured sentry, so I'm getting error trace from it
so which container is throwing this error? maybe look the logger or server_name
how is hte function being triggered? via appwrite console?
@Abhishek would you please try setting this env var in your .env file?
_APP_FUNCTIONS_MAINTENANCE_INTERVAL=3600
http call from web client sdk
Sure, let me check
Worked!
[SOLVED] Functions are not setting the timeout as per the configuration in 1.4.2
Recommended threads
- TablesDB can't be used in Appwrite Funct...
I have written a function (DART) and it won't deploy. Here is what I get : 2026-03-14T17:09:41.459693680Z Compiling ... 2026-03-14T17:09:42.915619217Z ../build...
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...