I have setup my own Appwrite Instance via Docker on my Server and everything seems to be working fine except functions. I tried to use the default starter function template but always receive a Timeout when the function tries to fetch the users.
Could not list users: Get "https://.../v1/users": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
This timeout only happens inside the function. When using an HTTP client (HTTPie) and executing the API requests via that it works without a problem (see attached screenshot).
Brief overview of my setup:
I have a Traefik instance which proxies all requests to the Appwrite Traefik container/compose setup.
Furthermore I have changed _APP_OPTIONS_FORCE_HTTPS
and _APP_OPTIONS_FUNCTIONS_FORCE_HTTPS
to enabled.
Lastly I have set _APP_DOMAIN
, _APP_DOMAIN_FUNCTIONS
and _APP_DOMAIN_TARGET
to point to my domain.
The rest has been left untouched compared to the getting started files.
At this point I am kind of lost for solutions since I have tried everything I can think of in the past 2 days.
Thank you in advance 🙂
Also I just tried to wget the landing page from withing the executor container but it tries so connect for forever. Using any other machine with the same url works without any issues. However wget against google.com works from the container.
Ping from within the container to the domain gets me responses without any issues.
Recommended threads
- Problem with adding self-hosted Sentry
Following the official Appwrite-Sentry integration documentation (https://appwrite.io/integrations/logging-sentry) I've configured my .env file with: ```_APP_...
- Appwrite CLI not working as expected
Until yesterday I was authenticated in my Appwrite instance through the CLI, and I was able to get my functions and deploy them manually. Today, when I went ba...
- Python Function Not Running Locally in A...
Hello Team Appwrite, I have tried running Python functions locally using the bare minimum starter code provided by Appwrite, but it is neither working nor givi...