Back

undefined array key listening

  • 0
  • Self Hosted
  • Functions
MyWay
3 Aug, 2024, 22:37

I had my Bun function executing for months, but now i'm getting the following error:

TypeScript
Warning: Undefined array key "listening" in /usr/local/app/http.php on line 1023
Warning: fsockopen(): Unable to connect to 66aeafc1c683e:3000 (Connection refused) in /usr/local/src/Executor/Validator/TCP.php on line 45

any idea what to look?

TL;DR
Issue: Undefined array key "listening" error and connection refused error while calling databases.updateDocument function. Possible Solution: This could be related to a Docker container issue. Check the Docker configuration and make sure the necessary ports are open and properly configured. Also, ensure that the database document is being updated correctly.
MyWay
3 Aug, 2024, 22:38

and my functions just timeouts, apparently the error is when my code calls to update the database document (databases.updateDocument), but since I didn't modify it, it's probably something with docker containers?

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