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
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Function in Node.JS to monitor events ar...
Hello everyone. I'm creating my first Node.JS function, but I don't have much experience with node and javascript. I'm trying to create a function, that monito...