Skip to content
Back

Static site not being served

  • 0
  • 3
  • 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
Static site not being served, solution provided through merged code on GitHub.
1 Aug, 2026, 11:00
1 Aug, 2026, 20:15

I can help with this. From what you described, it sounds like Appwrite is treating the deployment as a dynamic/SSR site instead of serving the static dist output, which is why requests are timing out and hitting the function execution limit. Quick question: when you created the Site, did you configure it as a static site, or is there a server entrypoint (like server.js or index.js) defined in the deployment?

2 Aug, 2026, 18:24

Hi I actually found the solution above. , I wish it was as simple as toggling between an ssr and static site but it was not

3 Aug, 2026, 01:53

we just merged a solution that seems to fix the exact problem here - https://github.com/appwrite/appwrite/pull/13068

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