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
- TOO_MANY_REDIRECTS after temporarily ena...
I am losing my mind over this, I enabled this setting because I was having issues with sites not making links with https. I enabled it, ran into issues, so I di...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...
- Triggers and call function in function p...
Hello, Today we are experiencing several issues with Appwrite Cloud. Functions triggered by events, or functions called from another function, are taking an e...