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
- Bulk feature status
Hi there, I am using version 1.7.4 self hosted and wanted to use the bulk operations in a dart function. I saw that in the dart_appwrite sdk version 16.1.0 it ...
- CORS preflight returns 500 on Dart funct...
Hey everyone 👋 I’m running a Dart cloud function, Every time I respond to a preflight (OPTIONS) request, I get a 500 internal error, and the logs show: ```NoSu...
- execution failed
When executing an appwrite function, I'm getting a 500 error, but I don't see it in executions. This issue appeared today. Here's the appwrite function ID: 68b4...