Back

Problem with realtime subscribe

  • 0
  • Web
  • Cloud
Jasper
8 May, 2024, 11:00

Hi i'm unable to subscribe to any realtime channels.

TypeScript
    const channel = `collections.todos.documents`;
    console.log("Subscribing to channel", channel);
    client.subscribe(channel, (event) => {
      console.log(event);
    });
TypeScript
Subscribing to channel collections.todos.documents

2console.js:273 Realtime got disconnected. Reconnect will be attempted in 1 seconds.
TL;DR
Developers having trouble subscribing to realtime channels in the cloud version. Console log shows disconnection issues. The problem might be due to a connection error. Check network settings and retry.
Jasper
8 May, 2024, 11:02

I'm using the cloud version aswell

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