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
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...