[SOLVED] An internal curl error has occurred within the executor! Error Msg: Could not resolve host
- 1
- Functions

Hi i deployed a brand new starter functin and tried to execute and im getting this error
An internal curl error has occurred within the executor! Error Msg: Could not resolve host: 64fbc65ae0daa\nError Code: 500
here is the appwrite-worker-functions
logs
[Job] Received Job (64fbc6605a41d5.39456820).
[Job] (64fbc65add9d30.24832985) failed to run.
[Job] (64fbc65add9d30.24832985) An internal curl error has occurred within the executor! Error Msg: Could not resolve host: 64fbc65ae0daa
[Error] Type: Exception
[Error] Message: An internal curl error has occurred within the executor! Error Msg: Could not resolve host: 64fbc65ae0daa
[Error] File: /usr/src/code/app/workers/functions.php
[Error] Line: 284

What's your _APP_EXECUTOR_RUNTIME_NETWORK
env variable set to?

its _APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes

What's the output of docker inspect appwrite_runtimes
?

i just did docker compose down
and docker compose up -d
and it started working

not sure what the problem was

[SOLVED] An internal curl error has occurred within the executor! Error Msg: Could not resolve host

@Steven I faced with the same issue. Could you help me to understand what exactly should I check in the output docker inspect appwrite_runtimes?

It's best to create your own support post especially since this is marked as [SOLVED]

Recommended threads
- Server Error when Pushing a Function
Get this ambiguous error when trying to push my function, it's TypeScript using NodeJS 18 ``` ? Which functions would you like to push? get-grades (get-grades)...
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Function running in cloud but not locall...
Hi everyone, I have an appwrite function which is on python3.12 runtime. I have a library (hnswlib) which builds wheels during installation. This works on appwr...
