#Executor - Could not resolve host

70 messages Β· Page 1 of 1 (latest)

pseudo beacon
#

Getting this on all my functions now:

An internal curl error has occurred within the executor! Error Number: 6. Error Msg: Could not resolve host: 65eb51c3dfd36\nError Code: 500
#

Self-hosted, 1.5

rugged lark
#

Does a redeploy fix it? @drifting mantle @gaunt hazel

pseudo beacon
#

it does not

pseudo beacon
severe smelt
pseudo beacon
#

same issue

#

appwrite.. does a lot more

#

I'm guessing it's talking about this..?

thin rivet
thin rivet
pseudo beacon
#

how do i check 1peek

thin rivet
thin rivet
# pseudo beacon

there's nothing in there πŸ‘€ . inspect the runtime container and executor

spark quarry
#

what's the output of docker stats --no-stream

pseudo beacon
#

uhh.. the openruntimes-executor? it's pretty long haha

thin rivet
thin rivet
pseudo beacon
#

openruntime-executor ^

thin rivet
pseudo beacon
thin rivet
# pseudo beacon

ya as this shows. the executor is only in the appwrite network. not in the runtimes network

pseudo beacon
#

i saw someone else also have this issue.. but i couldn't find it anymore as well

thin rivet
#

check the executor's networks in your docker-compose.yml

pseudo beacon
thin rivet
# pseudo beacon

try to recreate things.

docker compose down
docker compose up -d

make sure the network is recreated

pseudo beacon
#

already tried

#

didn't work Sadge

#

reboot the server? would that do anything? probably not lol_laugh

west tapir
#
  1. What is the results of
docker ps -a
  1. Try to redeploy one of the function to see if it fixes it
west tapir
#

Okay

pseudo beacon
#

and all my functions are broken, not just one, so my guess is something is wrong entirely

west tapir
#

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
pseudo beacon
#

typo

west tapir
#

Sorry

pseudo beacon
#

2 typos

lofty grotto
#

Might have pinpointed the issue here, looking into a fix. There's a workaround if you need to get things running urgently

pseudo beacon
lofty grotto
pseudo beacon
#

that's fine

#

i use node-20 anyway πŸ™‚

lofty grotto
# pseudo beacon i use node-20 anyway πŸ™‚

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
pseudo beacon
#

starting up appwrite takes quite long 1Sweat

lofty grotto
pseudo beacon
#

btw, is the functions timeout fixed as well? or not yet

rugged lark
#

@echo steeple fyi

drifting mantle
#

@pseudo beacon Would it be possible to share source code for us? We cant seem to reproduce it.

drifting mantle
#

Of a function that said Could not resolve host: 65eb51c3dfd36

pseudo beacon
#

all of them? πŸ˜‚

#

sure

drifting mantle
#

Sheesh πŸ˜… Just one is fine. Also if you can simplfy, taht would be perfect

pseudo beacon
#

give me a few mins

drifting mantle
#

We tried with hello world and simple SDK call, and couldnt achieve the error

pseudo beacon
#

also happened after migrating

drifting mantle
pseudo beacon