Back

1.4.1 node runtime not showing up

  • 0
  • Web
Camo
1 Sep, 2023, 23:24

In functions, i don't see any node versions of runetime. When deploying a python starter function, i get an error Could not resolve host: appwrite-executor with status code 0

TL;DR
User is experiencing an error with the 1.4.1 node runtime not showing up. They have tried manually deploying the function and deploying through GitHub, but the error persists. The logs show a "File Not Found" exception and a "No such container" error. The user has tested with deno-1.35 and node-20, but they believe the issue may be related to changing the name of the executor when moving it to open runtimes. They mention that enabling the node-18.0 runtime in appwrite resolves the error, but it then shows a different error. The user suggests changing the environment variable "_
Joshi
1 Sep, 2023, 23:34

Change your enviroment variable "_APP_EXECUTOR_HOST=http://appwrite-executor/v1" to "_APP_EXECUTOR_HOST=http://executor/v1"

Joshi
1 Sep, 2023, 23:35

After changing it won't throw the error anymore but will show this

Drake
2 Sep, 2023, 00:03

as for the node version, you need to enable the node-18.0 runtime in appwrite

Eldad
2 Sep, 2023, 05:28

I also think we changed the name of the executor when we moved it to open runtimes.

Joshi
2 Sep, 2023, 08:47

Yea I saw the change in a PR that's why I changed it

Lucas Reis
2 Sep, 2023, 17:34

I am getting the same error as reported above. It works fine when I manually deploy my function but not when I deploy through github xD

This is what I see in the logs of the openruntimes-executor container

TypeScript
[Error] Type: Exception
[Error] Message: File Not Found
[Error] File: /usr/local/app/http.php
[Error] Line: 605
[Error] Type: Exception
[Error] Message: Runtime not ready. Error Msg: []

Error: No such container: executor-proj-ibb-64f370a480571e5c9fd0

[Error] File: /usr/local/app/http.php
[Error] Line: 319

Tested with deno-1.35 and node-20

Drake
2 Sep, 2023, 18:09

Please create a new post

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more