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
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...