[SOLVED] Error while trying to deploy a funtions on self-hosted
- 2
- Resolved
- Self Hosted
- Functions
Error -> Could not resolve host: appwrite-executor with status code 0
Endpoint generated -> 64f05106d0c7ca5ec194.functions.localhost
- Did you do a clean install or did you upgrade?
- If you upgraded, how did you upgrade?
First I try upgrade following the docs, and didn't work, after I tried a clean install following always the docs but nothing
how did you do a clean install? what happened during the clean install?
Because I'm in my local env, I totally removed images, volumes, containers and the generated appwrite folder, after that I used the installation command in the docs changing the version from 1.4.0 to 1.4.1
how did you remove all the docker stuff?
can you try changing the _APP_EXECUTOR_HOST env var to proxy?
I used the commands indicated in the docs, after that I checked that always was gone
I can try
Only I need to change the compose file, right?
no, the .env file. actually make it executor
Ah ok ok, thanks
But if I change the _APP_EXECUTOR_HOST from http://appwrite-executor/v1 to my hostname, do it work? Or I must change it to proxy?
no. it should be executor. the host is an internal docker container. not your appwrite instance
Ok, I'm trying to change it to executor
With setting it to executor the deployment of the function is waiting indefinitely
Now I'm trying with proxy
Same setting it to proxy
Same error Could not resolve host: appwrite-executor with status code 0
Working after changing it to http://executor/v1
Thank you, now it's working!
[SOLVED] Error while trying to deploy a funtions on self-hosted
Recommended threads
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...