SatinCakeOriginal post
Rank 1: Thread
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
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.
Summary
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.