[SOLVED] Could not resolve host while building a function on 1.4.0 and 1.4.1
- 0
- Resolved
- Functions
I restarted multiple times btw
In the newer docker-compose.yml file the network changed
networks:
gateway:
name: gateway
appwrite:
name: appwrite
runtimes:
name: runtimes
So make sure the _APP_EXECUTOR_RUNTIME_NETWORK is set to runtimes
-_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes
+_APP_EXECUTOR_RUNTIME_NETWORK=runtimes
After that reload your compose
And check again
and what about other? 'runtimes' should be everywhere?
_APP_EXECUTOR_RUNTIME_NETWORK=runtimes
_APP_FUNCTIONS_ENVS=dart-3.0
_APP_FUNCTIONS_INACTIVE_THRESHOLD=60
DOCKERHUB_PULL_USERNAME=
DOCKERHUB_PULL_PASSWORD=
DOCKERHUB_PULL_EMAIL=
OPEN_RUNTIMES_NETWORK=appwrite_runtimes
_APP_FUNCTIONS_RUNTIMES_NETWORK=runtimes
OPEN_RUNTIMES_NETWORK
Most of them are deprecated
Take a look in the docker-compose file to see which one is in use
Also. You'll probably need to change the host
I could check it later
host? which param name is that?
still the same problem after changing to runtimes
App exexutor host
I think the url should be changed to ...openruntime-exexutor... or just ...executor...
Try them both
have to go now but i will test in 2h
by default there is _APP_EXECUTOR_HOST=http://appwrite-executor/v1
Could not resolve host: openruntime-executor with status code 0
it was for _APP_EXECUTOR_HOST=http://openruntimes-executor/v1 trying just executor
executor works
i will upload config for everybody that have a problem
_APP_DOMAIN_FUNCTIONS=
_APP_FUNCTIONS_SIZE_LIMIT=30000000
_APP_FUNCTIONS_TIMEOUT=900
_APP_FUNCTIONS_BUILD_TIMEOUT=900
_APP_FUNCTIONS_CONTAINERS=10
_APP_FUNCTIONS_CPUS=0
_APP_FUNCTIONS_MEMORY=0
_APP_FUNCTIONS_MEMORY_SWAP=0
_APP_FUNCTIONS_RUNTIMES=dart-3.0
_APP_EXECUTOR_HOST=http://executor/v1
_APP_EXECUTOR_RUNTIME_NETWORK=runtimes
_APP_FUNCTIONS_ENVS=dart-3.0
_APP_FUNCTIONS_INACTIVE_THRESHOLD=60
OPEN_RUNTIMES_NETWORK=runtimes
_APP_FUNCTIONS_RUNTIMES_NETWORK=runtimes
Thanks for help Binyamin!
[SOLVED] Could not resolve host while building a function on 1.4.0 and 1.4.1
Great π
Recommended threads
- problem with my function deployment
Hi, I'm using Appwrite Cloud in the fra region. I'm having an issue with Function domains. Functions deploy successfully. Executions from the Appwrite Console...
- Executor with custom S3 doesn't work in ...
Was testing to upgrade appwrite to 1.9.5 and when testing the S3 part i saw the executor didn't work anymore. When looking closly i saw the `StorageFactory` doe...
- Function settings doesn't work on self-h...
When a function setting is changed (like for example the function name) the servers returns a 500. The "appwrite" containers print the following error: ```bash...