Skip to content
Back

Static site not being served

  • 0
  • 1
  • Self Hosted
  • Sites
1 Aug, 2026, 09:42

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?

TL;DR
The static site is not being served. Check the server configuration and make sure the files are in the correct directory for serving.
1 Aug, 2026, 11:00
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