#Appwrite function execution is timing out without any proper error messages

6 messages · Page 1 of 1 (latest)

ionic wren
#

I have a function on Appwrite that is getting executed but failing with a timeout error. See attached screenshot.

See below for logs from the openruntime executor:

[Error] Message: File Not Found
[Error] File: /usr/local/app/http.php
[Error] Line: 613
[Error] Type: Exception
[Error] Message: Function timed out during preparation.
[Error] File: /usr/local/app/http.php
[Error] Line: 797

Warning: Undefined array key "listening" in /usr/local/app/http.php on line 1023

Warning: fsockopen(): Unable to connect to 666de00fea513:3000 (DNS Lookup resolve failed) in /usr/local/src/Executor/Validator/TCP.php on line 45

Warning: fsockopen(): Unable to connect to 666de00fea513:3000 (DNS Lookup resolve failed) in /usr/local/src/Executor/Validator/TCP.php on line 45

Warning: fsockopen(): Unable to connect to 666de00fea513:3000 (DNS Lookup resolve failed) in /usr/local/src/Executor/Validator/TCP.php on line 45
[Error] Type: Exception
[Error] Message: Function timed out during cold start.
[Error] File: /usr/local/app/http.php
[Error] Line: 1032```
rose lotus
#

What is your appwrite version?
what is your function runtime?
What is your function doing?

ionic wren
#

I am on appium 1.5.7, my runtime is nodejs, the function is a cron job that updates a couple of db records every 5 minutes. However, even when I try with just a simple Hello world app, it just times out

ionic wren
#

Hey @ripe geyser After looking into the problem further, this appears to be an issue with the Docker network while deploying on Coolify, not sure if its an issue on Appwrite or an issue with Coolify, but if I manually deploy with docker compose its working just fine

ripe geyser