Skip to content
Back

An error occurred: Unable to connect. Is the computer able to access the url?

  • 0
  • Self Hosted
MyWay
6 Aug, 2024, 08:52

Hi, my function worked for months, but now when running, it fails due to this error or timeouts. Apparently this error is happening when I use databases.updateDocument. Any help debugging?

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

TL;DR
Error message: "Unable to connect. Is the computer able to access the URL?" Issue: Error occurring when using databases.updateDocument, resulting in timeouts and connection errors. Additional Warnings: Undefined array key "listening" and fsockopen warning. Solution: The issue might be related to the connection being refused on port 3000. Check firewall settings, network configurations, and if the URL is correctly accessible from the computer running the function.
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