Skip to content
Back

Self hosted Appwrite does not load [Production]

  • 0
  • Self Hosted
  • Flutter
Kevins35
11 Nov, 2024, 15:03

I currently have a huge issue: when trying to use my self hosted appwrite instance, it does not load. This means, when im trying to load the regular web console i just get the loading indicator. Also my flutter app using appwrite can not start.

After a restart of the server (either by shutting it down or using docker-compose down) it will work again but only for an hour or so. Ive been tracking the docker-compose logs and have provided the last errors

TypeScript
appwrite                            | [Error] Method: 
appwrite                            | [Error] URL: /service-worker.js
appwrite                            | [Error] Type: Appwrite\Extend\Exception
appwrite                            | [Error] Message: The requested route was not found. Please refer to the API docs and try again.
appwrite                            | [Error] File: /usr/src/code/app/controllers/general.php
appwrite                            | [Error] Line: 1051
appwrite                            | [Error] Timestamp: 2024-11-11T14:50:41+00:00
appwrite                            | [Error] Method: POST
appwrite                            | [Error] URL: /v1/functions/:functionId/executions
appwrite                            | [Error] Type: Appwrite\Extend\Exception
appwrite                            | [Error] Message: Synchronous function execution timed out. Use asynchronous execution instead, or ensure the execution duration doesn't exceed 30 seconds.
appwrite                            | [Error] File: /usr/src/code/src/Executor/Executor.php
appwrite                            | [Error] Line: 372
appwrite                            | [Error] Timestamp: 2024-11-11T14:50:41+00:00
appwrite                            | [Error] Method: POST
appwrite                            | [Error] URL: /v1/functions/:functionId/executions
appwrite                            | [Error] Type: Appwrite\Extend\Exception
appwrite                            | [Error] Message: Synchronous function execution timed out. Use asynchronous execution instead, or ensure the execution duration doesn't exceed 30 seconds.
appwrite                            | [Error] File: /usr/src/code/src/Executor/Executor.php
appwrite                            | [Error] Line: 372
appwrite-realtime                   | [Error] Type: Appwrite\Extend\Exception
appwrite-realtime                   | [Error] Message: Missing or unknown project ID
appwrite-realtime                   | [Error] File: /usr/src/code/app/realtime.php
appwrite-realtime                   | [Error] Line: 446```

I personally can not see any error that would explain the behaviour. The weird thing is, that i havent changed anything in yesterday or today and yet the described Problem arose just today...

I would greatly apreciate it, if anyone could help me, as this error is occuring in Production

Im using Appwrite Version 1.6.0 hosted as a droplet by DigitalOcean

If you need to know other things just ask
TL;DR
Developers are experiencing issues with their self-hosted Appwrite instance not loading in production, impacting both their web console and Flutter app. Restarting the server temporarily resolves the problem. Errors in the logs show route not found and function execution timeouts. The issue occurred suddenly without recent changes. The Appwrite version used is 1.6.0.
darShan
11 Nov, 2024, 15:05

even in incognito? maybe do a hard reload and empty cache

Kevins35
11 Nov, 2024, 15:07

yes even in incognito. As i said not even my flutter app loads. Do you mean the webbrowser cache or some database cache? If you meant the latter, could you tell me how i would go about that?

Kevins35
11 Nov, 2024, 15:11

Self hosted Appwrite does not load [Production]

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