
Good day! Your support is highly appreciated! I am running Appwrite behind Nginx reverse proxy keeping the native load balancer traefik with trusted ip set --entryPoints.web.forwardedHeaders.trustedIPs=x.x.x.x --entryPoints.websecure.forwardedHeaders.trustedIPs=x.x.x.x
All is working except for the functions, i went all the previous bugs and fixed the host issue and set my public domain with SSL on both ends Nginx/Traefik I have deployed the function manually as for the CLI is broken and yet not fixed. i have the following errors which i can not get rid off

- How are you trying to execute the function?
- Have you added and verified the custom domain?

what is your _APP_EXECUTOR_HOST
env var set to?

_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=node-16.0,php-8.0,python-3.9,ruby-3.0 _APP_EXECUTOR_SECRET=your-secret-key _APP_EXECUTOR_HOST=http://executor/v1 _APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes _APP_FUNCTIONS_ENVS=node-16.0,php-7.4,python-3.9,ruby-3.0 _APP_FUNCTIONS_INACTIVE_THRESHOLD=60 '''

manual execution from the Appwrite Panel... it is a setup script for our webapp which setup the env and database

Can you run docker inspect appwrite_runtimes
to see what's in that network?

verified domains are added as custom domains and issed certification on the nginx side

docker inspect appwrite_runtimes [] Error: No such object: appwrite_runtimes

docker inspect runtimes [ { "Name": "runtimes", "Id": "faacfed62139eb2e5f24e3c0fa58736fd9dbda8bf127b459b1a58c3d2e46fb3b", "Created": "2023-09-06T06:57:13.006270185Z", "Scope": "local", "Driver": "bridge", "EnableIPv6": false, "IPAM": { "Driver": "default", "Options": null, "Config": [ { "Subnet": "192.168.112.0/20", "Gateway": "192.168.112.1" } ] }, "Internal": false, "Attachable": false, "Ingress": false, "ConfigFrom": { "Network": "" }, "ConfigOnly": false, "Containers": { "6ee8f53e91aa71f10e072b56eeced55370ae5258999b1594506bae51fd00c89b": { "Name": "openruntimes-executor", "EndpointID": "986fe3665b6fdfec87ba7ed953ddbc0b3ea1dec4f3e79e1b0a457763ae8eaae7", "MacAddress": "02:42:c0:a8:70:02", "IPv4Address": "192.168.112.2/20", "IPv6Address": "" }, "dc7970c75545078eef2b7da7b41903460879dbbdf637ef954825b0109db112d9": { "Name": "64f794266762c5bba5bd-64f81fd3c7f532b2fdce", "EndpointID": "735512bdd89872ea6caf9d9a68dd33d7744beea5ac7fe6d56f03c6184e180a2a", "MacAddress": "02:42:c0:a8:70:03", "IPv4Address": "192.168.112.3/20", "IPv6Address": "" } }, "Options": {}, "Labels": { "com.docker.compose.network": "runtimes", "com.docker.compose.project": "app-13", "com.docker.compose.version": "2.20.2" } } ]

shall i modify the network name

Ya let's try that

for the executor and OPEN_RUNTIMES_NETWORK

appwrite-worker-functions | [Job] (64f968eb196675.37204927) Multiple internal curl errors has occurred within the executor! Error Number: 111. Error Msg: Connection refused appwrite-worker-functions | [Error] Type: Exception appwrite-worker-functions | [Error] Message: Multiple internal curl errors has occurred within the executor! Error Number: 111. Error Msg: Connection refused appwrite-worker-functions | [Error] File: /usr/src/code/app/workers/functions.php appwrite-worker-functions | [Error] Line: 284 appwrite | [Error] Timestamp: 2023-09-07T06:09:01+00:00 appwrite | [Error] Method: GET appwrite | [Error] URL: /console/* appwrite | [Error] Type: Appwrite\Extend\Exception appwrite | [Error] Message: Host is not trusted. This could occur because you have not configured a custom domain. Add a custom domain to your project first and try again. appwrite | [Error] File: /usr/src/code/app/controllers/general.php appwrite | [Error] Line: 67

in between i have this error from Traefik
appwrite-traefik | time="2023-09-07T07:01:08Z" level=error msg="the router appwrite_realtime_wss@docker uses a non-existent resolver: dns"

Hey, Have you change the network name to this?
_APP_EXECUTOR_RUNTIME_NETWORK=runtimes
What value you have set as _APP_DOMAIN
if none can you try set it as the target domain and if it's development then to your server IP.
Then reload everything and try again?

yes i did change the network for both runtime and openruntime without luck even host name i put openruntimes-executor so that it found it the doamin is full set for public domain and i m still receiving dns error

i rolled back to 1.3.8 i have a project to deliver, i will wait the fixes
Recommended threads
- Need help setting up this error is showi...
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. If you're the app developer, register the redirect URI in the Google Cl...
- Direct Upgrade from Appwrite v1.5.11 to ...
I'm on Appwrite v1.5.11. Can I upgrade directly to v1.6.2?
- Appwrite stopped working, I can't authen...
I'm having an issue with Appwrite. It was working fine just a while ago, but suddenly it stopped working for me and can't authenticate accounts. I even went bac...
