Back

Migrating 1.4.14 -> 1.5.4 - Could not resolve host: appwrite-executor with status code 0

  • 0
  • Self Hosted
  • Functions
iStornZ
2 Apr, 2024, 09:46

Hello, I migrated my server from 1.4.14 from 1.5.4 without any problems (no errors on migration, just some warnings).

When I try to execute a function (which was working before the update), it fails & show me Could not resolve host: appwrite-executor with status code 0\nError Code: 0

What can cause this issue?

I tried to recreate containers with docker compose up -d but nothing ...

Thanks in advance!

Tried to run docker logs appwrite and get same error Could not resolve host: appwrite-executor with status code 0 Tried to run docker ps, and the openruntimes/executor:0.4.12 has a status set to Up 4 hours (healthy) don't known if it's normal... ?

TL;DR
Developers are encountering a "Could not resolve host: appwrite-executor with status code 0" issue after migrating from 1.4.14 to 1.5.4. They have tried recreating containers but the problem persists. One developer suggests checking the `_APP_FUNCTIONS_RUNTIMES_NETWORK` setting in the `.env` file. Additionally, the status of the executor container shows as healthy.
ideclon
2 Apr, 2024, 10:30

What is _APP_FUNCTIONS_RUNTIMES_NETWORK in your .env file set to?

iStornZ
2 Apr, 2024, 10:52

Thanks for your reply!

It's set to _APP_FUNCTIONS_RUNTIMES_NETWORK=runtimes

iStornZ
2 Apr, 2024, 11:19
TypeScript
OPEN_RUNTIMES_NETWORK=appwrite_runtimes
_APP_FUNCTIONS_RUNTIMES_NETWORK=runtimes

Maybe the first one is not good no? @ideclon ?

ideclon
2 Apr, 2024, 11:20

IIRC the first one there is outdated, but I don't have time to look into it rn

iStornZ
2 Apr, 2024, 11:20

No problem πŸ™‚ I will wait πŸ˜‰

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