Back

Could not resolve host: appwrite-executor with status code 0

  • 0
  • Self Hosted
whataboutno13
2 Feb, 2024, 08:27

Hi there, I am running a self hosted 1.4.13 appwrite version. Yesterday I wanted to redeploy another function and it failed with the following error Could not resolve host: appwrite-executor with status code 0. I restarted appwrite, but nothing changed. Additionally, my functions are not getting executed any more. They are failing with the same error Could not resolve host: appwrite-executor with status code 0\nError Code: 0. This is the log from the worker-builds:

TypeScript
2024-02-02 09:16:48 Could not resolve host: appwrite-executor with status code 0
2024-02-02 09:16:48 /usr/src/code/src/Executor/Executor.php:331
2024-02-02 09:16:48 #0 /usr/src/code/src/Executor/Executor.php(91): Executor\Executor->call('POST', '/runtimes', Array, Array, true, 900)
2024-02-02 09:16:48 #1 /usr/src/code/src/Appwrite/Platform/Workers/Builds.php(401): Executor\Executor->createRuntime('65bca4ece0d45a6...', '64cb62096a99997...', '/storage/functi...', 'openruntimes/da...', 'v3', true, 'lib/main.dart', '/storage/builds...', Array, 'tar -zxf /tmp/c...')
2024-02-02 09:16:48 #2 {main}

And from the worker-functions:

TypeScript
2024-02-01 13:43:46 [Job] (65bb91ff40ade1.33676889) failed to run.
2024-02-01 13:43:46 [Job] (65bb91ff40ade1.33676889) Could not resolve host: appwrite-executor with status code 0
2024-02-01 13:43:46 [Error] Type: Exception
2024-02-01 13:43:46 [Error] Message: Could not resolve host: appwrite-executor with status code 0
2024-02-01 13:43:46 [Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Functions.php
2024-02-01 13:43:46 [Error] Line: 472

Any idea how I can solve this problem?

TL;DR
Developers are experiencing an error message stating "Could not resolve host: appwrite-executor with status code 0". This is causing their functions to fail as well. Restarting appwrite did not solve the issue. The log from worker-builds shows that the Executor is unable to resolve the host. The log from worker-functions also mentions the same error. They are asking for a solution to resolve this problem. Solution: One possible solution is to check the DNS settings and make sure that the host 'appwrite-executor' is correctly resolved. The developers can also try restarting the network services or checking the network configuration. Another solution is
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