Back

[SOLVED] Could not resolve host appwrite-executor with status code 0\nError Code: 0

  • 0
  • Self Hosted
D5
14 May, 2024, 10:34

I'm getting this error after upgrading Appwrite successfully from 1.4.14 to 1.5.5.

i didn't have made any modifications in the networks or similar

TL;DR
Error message indicating "Could not resolve host appwrite-executor with status code 0\nError Code: 0" was resolved by restarting with the command "docker compose down && docker compose up -d". Additional caution to avoid data deletion if Appwrite wasn't installed using the automatic script. Network configurations and version upgrade from 1.4.14 to 1.5.5 were highlighted as potential causes.
D5
14 May, 2024, 10:34

My docker networks:

TypeScript
   appwrite   bridge    local
   bridge     bridge    local
   gateway    bridge    local
   host       host      local
   none       null      local
   runtimes   bridge    local
D5
14 May, 2024, 10:35

Env vars:

TypeScript
OPEN_RUNTIMES_NETWORK=appwrite_runtimes
_APP_FUNCTIONS_RUNTIMES_NETWORK=runtimes
D5
14 May, 2024, 10:45

Solved. Solution is restarting every with docker compose down && docker compose up -d

D5
14 May, 2024, 10:46

Note that if you didn't have installed appwrite as usual with the automatic script in docs it could result in data deletion.

A Less agresive approach is recreating only the appwrite and open runtmes container and it's network

D5
14 May, 2024, 10:48

[SOLVED] Could not resolve host appwrite-executor with status code 0\nError 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