Hey everyone, I’m having an issue deploying a Vue/Vite app through self hosted Appwrite Sites and could use some help.
Setup:
- Appwrite is self-hosted with Traefik
- Repo: n0obscertified/voizle
- Root directory: video_chat
- Framework: Vue 3 + Vite
- Build command: npm run build
- Output directory: dist
- Custom domain: collab.voyzly.com
DNS, TLS, and Traefik appear to be working correctly. The domain resolves to the server, the SSL certificate is valid, and the request reaches Appwrite.
However, every request to / waits about 30 seconds and then returns:
HTTP 408 Synchronous function execution timed out. Use asynchronous execution instead, or ensure the execution duration doesn't exceed 30 seconds.
The Appwrite log shows:
http.method HEAD http.path / http.response.code 408 Appwrite\Extend\Exception: Synchronous function execution timed out.
The app is a normal static Vite SPA and does not use SSR. Its package scripts are:
"dev": "vite --host", "build": "vite build", "preview": "vite preview"
It seems like Appwrite may be treating the site as a function-backed or SSR deployment instead of serving the generated dist directory as a static site.
Has anyone seen this before? Is there a setting that controls static versus SSR/function execution for Sites, or something specific I need to change in the deployment configuration?
Recommended threads
- Domain ownership issue
Hi Appwrite community, I’m trying to add my custom domain, **techtools.qzz.io**, to my Appwrite project, but Appwrite shows the following error: > Domain is o...
- Batch Size of Bulk Operations
Is there any way to increase the Batch Size of Bulk Operations on Appwrite Self Hosted? When I try to perform more than 100 operations per batch, I get the foll...
- [SOLVED] Error upgrading from 1.8.1 to 1...
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...