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
- Cannot update existing function to Dart ...
I can only select up to Dart 3.10.
- Function executions not getting logged b...
Hello, I have just upgraded on a self-hosted 1.8.1 to 1.9.0 and I have a strange bug where my functions are no longer showing executions in the console, howeve...
- Cloud Function Deployment Issue – Timeou...
Impossible to deploy a function for more than an hour. My project ID is: 69cc7a82000b42b8f5e2 Here's the error I get after waiting 15 minutes: Synchronous funct...