Back

[SOLVED] 1.4.3 Could not resolve host: appwrite-executor with status code 0

  • 0
  • Functions
Binyamin
27 Sep, 2023, 16:11

If it doesn't work make sure your wsl is selected in docker desktop settings

TL;DR
Issue: "Could not resolve host: appwrite-executor" with status code 0 Solution: Restart the Docker Compose and try again. Additionally, check the network settings and rename a row in the .env file if necessary. Make sure WSL is selected in Docker Desktop settings if the issue persists.
ireneus
27 Sep, 2023, 16:12
Binyamin
27 Sep, 2023, 16:12

Try this Rename this row in your .env file

TypeScript
-_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes
+_APP_EXECUTOR_RUNTIME_NETWORK=runtimes

And restart your docker

TypeScript
docker compose down && docker compose up -d
Binyamin
27 Sep, 2023, 16:12

The restrat you can do in your windows cli

ireneus
27 Sep, 2023, 16:12

aight

ireneus
27 Sep, 2023, 16:16
ireneus
27 Sep, 2023, 16:16

something new atleast

Binyamin
27 Sep, 2023, 16:19

What you get when running these commands in windows cli

TypeScript
docker network ls 
docker network inspect runtimes --format "{{range .Containers}}{{println .Name .IPv4Address println }}{{end}}" 
ireneus
27 Sep, 2023, 16:20
ireneus
27 Sep, 2023, 16:20

why is it the docker ip

ireneus
27 Sep, 2023, 16:20

like i should have my lan ip

ireneus
27 Sep, 2023, 16:21

i have allowed docker in firewall

Binyamin
27 Sep, 2023, 16:21

That's okay it's internal

Binyamin
27 Sep, 2023, 16:30

Another check

Binyamin
27 Sep, 2023, 16:30

What is the results of this

TypeScript
docker inspect openruntimes-executor --format "{{.NetworkSettings.Networks.appwrite.Aliases}}"
ireneus
27 Sep, 2023, 16:33
Binyamin
27 Sep, 2023, 16:33

It seems like it should work Can you restart the docker compose And try again?

ireneus
27 Sep, 2023, 16:34

can you give me some sample python code for a function

ireneus
27 Sep, 2023, 16:58

can someone help me find the docs for the sdk im looking to find more about the context object

Binyamin
27 Sep, 2023, 17:01
Binyamin
27 Sep, 2023, 17:01

Did it worked?

ireneus
27 Sep, 2023, 17:05

yes finally thank you

Binyamin
27 Sep, 2023, 17:06

<:appwritefire:823999000330895380>

Drake
27 Sep, 2023, 21:10

[SOLVED] 1.4.3 Could not resolve host: appwrite-executor with status code 0

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