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
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...