Back

Realtime got disconnected error

  • 0
  • Self Hosted
  • Realtime
Faye
28 May, 2024, 09:32

Heyo.

Is it possible to not get this error message? I am using Cloudflare, however if there's nothing going on, it's spamming the console a lot.

TL;DR
Developers experiencing Realtime disconnection error due to Cloudflare kill connection when no data is sent. To avoid error messages, ensure constant data transmission to prevent automatic disconnections and continuous reconnections by SDK.
D5
28 May, 2024, 09:33

If you're not sending data, cloudflare will kill the connection so the SDK reconnects and consequently you will get the error

Faye
28 May, 2024, 09:33

I know. My question is how to not get the error. It's annoying and I know it gets disconnected.

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