[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
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...
- Error can not create `tablesdb` event wi...
When i'm trying to add an event with `tablesdb` i get an error message My event value: `tablesdb.mtg-decklist-dev.tables.queue_parsing.rows.*.create` Same err...