Back

Error on function execution

  • 0
  • Self Hosted
Onder
14 Jun, 2024, 14:29

Hey everyone. I'm trying to deploy functions but i get error when i try to execute it. the error the error shows on the executor logs

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

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

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

Warning: fsockopen(): Unable to connect to 666c52427527f: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

also in dashboard it says

Function timed out during cold start.\nError Code: 400

Triggered by: http Status Code: 500

TL;DR
Developers are encountering errors when trying to execute functions, with warnings about DNS lookup failures and timeouts. The dashboard shows a cold start timeout error with a status code of 500. This may be due to a network issue.
Onder
14 Jun, 2024, 14:33

it looks like network issue

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