Back

/v1/runtimes/ is not found on self hosted instance

  • 0
  • Self Hosted
  • Functions
SatinCake
20 Apr, 2024, 18:25

I am trying to get functions working on a self hosted instance of version 1.5.4 running on docker. But the functions always come out with the error The requested route was not found. Please refer to the API docs and try again. Full error

TypeScript
The requested route was not found. Please refer to the API docs and try again.
/usr/src/code/src/Executor/Executor.php:96
#0 /usr/src/code/src/Appwrite/Platform/Workers/Builds.php(407): Executor\Executor->createRuntime('662406b8354d3c1...', '661ffc440039ce6...', '/storage/functi...', 'openruntimes/no...', 'v3', true, 'src/main.js', '/storage/builds...', Array, 'tar -zxf /tmp/c...')
#1 [internal function]: Appwrite\Platform\Workers\Builds->Appwrite\Platform\Workers\{closure}()
#2 {main}

I have the executor set to be the external domain with the endpoint added to it /v1, its not using anything localhost related. And its basically a base install nothing really changed apart from configuring Github and the domain.

TL;DR
Developers are encountering a route not found error when trying to use functions on a self-hosted instance of version 1.5.4 running on docker. The error message suggests checking the API docs. The problem might be related to the executor setup or endpoint configuration. Check if the executor is correctly pointing to the external domain with the endpoint `/v1`, and ensure it's not using any localhost references. Additionally, ensure that all necessary configurations, like Github integration and domain settings, are correct.
SatinCake
20 Apr, 2024, 18:28

And here is my docker-compose.yml file:

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