m0hsin_
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:
TypeScript
[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```
TL;DR
Appwrite function execution timing out without error messages. Logs show 'Function timed out during preparation' and 'Function timed out during cold start'. Issue seems related to DNS lookup failure. Check network settings and ensure correct host is used. Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...