[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
- Is Quick Start for function creation wor...
I am trying to create a Node.js function using the Quick Start feature. It fails and tells me that it could not locate the package.json file. Isn't Quick Start ...
- Connecting server functions to GitHub re...
The project I am working in has recently moved organizations on Appwrite. The same is true for the repo on GitHub, which as moved from a private user to a organ...
- Missing C++ libstdc library in Python fu...
I have a function running Python 3.12 which suddenly started dumping errors (as of today; it worked yesterday). I hadn't changed any code so I found this odd, b...
