Skip to content
Back

Realtime don't work

  • 0
  • Databases
  • Realtime
SpencerSama
13 May, 2023, 00:01

I have a probleme with Realtime. When i lauch my flutter i receive subscription: ws://c.mboasms.cm/v1/realtime?project=id&channels%5B%5D=databases.641351ea5433a6163dc3.collections.6446e97c0a307d25b0ea.documents on console but nothing happen when i update or insert document

TL;DR
Issue: Realtime feature is not working properly. Solution: The user needs to make sure that their reverse proxy is configured to allow web sockets. Additionally, it is suggested to check if the user has a reverse proxy in front of Appwrite. The user also needs to ensure that their IP address is used instead of localhost for Realtime to function correctly. Lastly, it is important to check if the user has the necessary access to the documents in the specified collection.
Drake
13 May, 2023, 00:04

does your user have access to the documents in that collection?

SpencerSama
13 May, 2023, 00:05

Yes

SpencerSama
13 May, 2023, 00:10

But when I use the IP address the realtime work.

Drake
13 May, 2023, 00:18

huh?

Usman
17 May, 2023, 12:09

I think he means to say when he does it locally (appwrite) it works

Drake
17 May, 2023, 15:55

do you have a reverse proxy in front of appwrite?

SpencerSama
20 May, 2023, 16:30

Yes

Drake
20 May, 2023, 16:31

Make sure it's configured to support web sockets

safwan
20 May, 2023, 17:45

I second this. I had to configure my reverse proxy to allow web sockets.

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