Back

Realtime stop working (Self-hosting + Flutter dart)

  • 0
  • Databases
  • Flutter
Chris
27 Nov, 2023, 13:19

Hi team, my appwrite realtime updates suddenly stopped working, am using a self hostage instance on linux and on client is Flutter.

TL;DR
Realtime updates in self-hosted Appwrite instance suddenly stopped working. The issue may be caused by the proxy. Upgrading to version 13 of Appwrite might help. The Redis container seems fine according to the logs. Check if you are using the latest version of Appwrite. Also, check the logs for errors in the Redis container (appwrite-redis). Make sure there are no errors when running `docker compose logs appwrite`. If you have Nginx, make sure it is running on port 80 while Appwrite is configured to run on port 2021. No reverse proxy or Cloudflare is being used.
D5
27 Nov, 2023, 13:28

Are you using Cloudflare?

Chris
27 Nov, 2023, 13:30

No i don't @D5

D5
27 Nov, 2023, 13:50

And any reverse proxy?

Chris
27 Nov, 2023, 13:52

I have nginx but it's running on port 80 and appwrite is configured to run on port 2021.

D5
27 Nov, 2023, 13:56

Do you get any errors when running docker compose logs appwrite?

Chris
27 Nov, 2023, 17:27
D5
27 Nov, 2023, 17:29

Nothing else?

Chris
27 Nov, 2023, 17:30

Yes, but when i check on appwrite-realtime log

D5
27 Nov, 2023, 17:30

What do you get there?

Chris
27 Nov, 2023, 17:30
D5
27 Nov, 2023, 17:31

Interesting

D5
27 Nov, 2023, 17:32

And do you get errors in redis container (appwrite-redis)?

D5
27 Nov, 2023, 17:32

Are you using latest appwrite version?

Chris
27 Nov, 2023, 17:35

Am using Version 1.4.12

Chris
27 Nov, 2023, 17:36

The appwrite-redis log shows :

Chris
27 Nov, 2023, 17:36
Chris
27 Nov, 2023, 17:37

The redis container seems fine.

D5
27 Nov, 2023, 18:35

Try upgrading to 13

D5
27 Nov, 2023, 18:36

But probably the issue is caused by the proxy πŸ€”

Chris
30 Nov, 2023, 12:58

Thank you

D5
30 Nov, 2023, 14:47

Does it got solved thanks to that?

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