I have a Cloudfunction on my self hosted Appwrite instance (Version 1.3.8) The Problem is, that everytime i try to execute this function i get the following error:
An internal curl error has occurred within the executor! Error Msg: Could not resolve host: 65a7a67db738f4a3b9df-65a7bf52af9ef6088df1
Does somebody have a clue as to why this is the case?
What's the runtime? (language and version)
What do you get in docker logs for openruntimes-executor? You can get them by running this command:
docker compose logs openruntimes-executor
Im using dart-2.17
running the command you gave results in: no such service: openruntimes-executor
Where are you running it?
Are you sure it's inside your appwrite installation folder?
in the folder with the docker compose and .env files
Oh, sorry
I didn't saw it was 1.3.8
🤦♂️
In such case, run:
docker compose logs appwrite-executor
appwrite-executor | [Error] File: /usr/src/code/app/executor.php
appwrite-executor | [Error] Line: 544
appwrite-executor | Building container : 65a7a67db738f4a3b9df-65a7bf52af9ef6088df1
appwrite-executor | Build Stage completed in 69 seconds
appwrite-executor | [Error] Type: Exception
appwrite-executor | [Error] Message: Runtime not found. Please create the runtime.
appwrite-executor | [Error] File: /usr/src/code/app/executor.php
appwrite-executor | [Error] Line: 469
appwrite-executor | Building container : 65a7a67db738f4a3b9df-65a7bf52af9ef6088df1
appwrite-executor | Build Stage completed in 2 seconds
appwrite-executor | Executing Runtime: 65a7a67db738f4a3b9df-65a7bf52af9ef6088df1
appwrite-executor | [Error] Type: Exception
appwrite-executor | [Error] Message: An internal curl error has occurred within the executor! Error Msg: Could not resolve host: 65a7a67db738f4a3b9df-65a7bf52af9ef6088df1
appwrite-executor | [Error] File: /usr/src/code/app/executor.php
appwrite-executor | [Error] Line: 544
Thats the output
The function is new or is it an old one?
i copied the function code from another server, that is using it succesffully. I tried a few builds already on the new server but otherwise the function is "new"
Both servers are running the same appwrite version?
Both are running 1.3.8 yes
Recommended threads
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...