#Executor - Could not resolve host
70 messages Β· Page 1 of 1 (latest)
Does a redeploy fix it? @drifting mantle @gaunt hazel
Made a new function, same error
What are the logs for
docker compose logs appwrite
And
docker compose logs openruntimes-executor
?
can you check the docker networks to see what containers are in which networks? the executor and the function runtime containers should be in the same docker network named runtimes or something like that
This yeah?
ya that last network. make sure the executor and runtime containers are in there
how do i check 
you can inspect it: docker inspect <id>
there's nothing in there π . inspect the runtime container and executor
what's the output of docker stats --no-stream
Runtime
uhh.. the openruntimes-executor? it's pretty long haha
you can focus only on the networks section
oh wait there's stuff there
i think these are runtime containers. i don't think the executor is in the runtimes network
all of my containers
ya as this shows. the executor is only in the appwrite network. not in the runtimes network
i saw someone else also have this issue.. but i couldn't find it anymore as well
check the executor's networks in your docker-compose.yml
try to recreate things.
docker compose down
docker compose up -d
make sure the network is recreated
already tried
didn't work 
reboot the server? would that do anything? probably not 
- What is the results of
docker ps -a
- Try to redeploy one of the function to see if it fixes it
- as said above, already tried
Okay
and all my functions are broken, not just one, so my guess is something is wrong entirely
Yes. I can see as the executor is unable to connect to the runtime network
What is the network output in
docker exec opentuntime-executor env
typo
Sorry
Might have pinpointed the issue here, looking into a fix. There's a workaround if you need to get things running urgently
Depends when the fix is π
You can downgrade the open-runtimes executor to 0.4.6, but you will lose access to the new runtimes added in 1.5
Cool, so you can go into the appwrite/docker-compose.yml file, find the openruntimes-executor service, and make the change:
- image: openruntimes/executor:0.4.9
+ image: openruntimes/executor:0.4.6
starting up appwrite takes quite long 
Works!
Thanks π
Awesome π we'll work towards getting the proper fix sorted too
btw, is the functions timeout fixed as well? or not yet
@echo steeple fyi
@pseudo beacon Would it be possible to share source code for us? We cant seem to reproduce it.
what source? π
Of a function that said Could not resolve host: 65eb51c3dfd36
Sheesh π Just one is fine. Also if you can simplfy, taht would be perfect
give me a few mins
We tried with hello world and simple SDK call, and couldnt achieve the error
it's literally a get documents, that's all
also happened after migrating
Thats perfect, should be easy to reproduce
okay a little bit more than that, since it's a switch case, but in general each endpoint only does one job, which is collecting documents