
I have a function that is working in my local environment and in the staging environment as well, but it fails in production. The execution log says
An internal curl error has occurred within the executor! Error Msg: Could not resolve host: 649e989077daded2055a-64b0e9611e85fdaf4658
but I also checked the appwrite executor logs and I find an error Runtime not found inside
# docker logs appwrite-executor
Warming up Node.js 16.0 environment...
Warming up PHP 8.0 environment...
Warming up Ruby 3.0 environment...
Warming up Python 3.9 environment...
Removing orphan runtimes...
Successfully Warmed up Python 3.9!
Successfully Warmed up PHP 8.0!
Successfully Warmed up Node.js 16.0!
Successfully Warmed up Ruby 3.0!
[Error] Type: Exception
[Error] Message: Runtime not found. Please create the runtime.
[Error] File: /usr/src/code/app/executor.php
[Error] Line: 469
Building container : 649e989077daded2055a-64b0e9611e85fdaf4658
Build Stage completed in 0 seconds
Executing Runtime: 649e989077daded2055a-64b0e9611e85fdaf4658
[Error] Type: Exception
[Error] Message: An internal curl error has occurred within the executor! Error Msg: Could not resolve host: 649e989077daded2055a-64b0e9611e85fdaf4658
[Error] File: /usr/src/code/app/executor.php
[Error] Line: 544
Executing Runtime: 649e989077daded2055a-64b0e9611e85fdaf4658
[Error] Type: Exception
[Error] Message: An internal curl error has occurred within the executor! Error Msg: Could not resolve host: 649e989077daded2055a-64b0e9611e85fdaf4658
[Error] File: /usr/src/code/app/executor.php
[Error] Line: 544
The function uses PHP-8.0 runtime. The env variables for the function are properly set. What am I missing?

After a less complicated search 🙂 i found this https://discord.com/channels/564160730845151244/1115412723270946867/1115416706345611354 and it solved the problem.
Recommended threads
- Internal 500 Server Error
I don't have much information but I am unable to create anything on database, Auth users are creating but not able to fetch into database
- [SOLVED] Access ExecutionStatus of a fun...
I am calling a cloud function from the newest Flutter SDK 20.2.1with the `xasync: false` flag and get the result, but the `execution.status` is not a String and...
- CLI login on self hosted with docker
Hi, I have a working docker setup with traefik in front of the services. Everything works as expected except for login with CLI. I've tried with `appwrite cli...
