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.I'm using the cloud version aswell
Recommended threads
- Problem with the new Email policies
when user set those thing from cloud panel and when they open that page again or reload that time it forget what we have checked and it set default to false on ...
- Deleted my account, trying to signup aga...
https://cloud.appwrite.io/console/login?error=%7B%22message%22%3A%22This+email+address+must+already+be+in+its+canonical+form.+Please+remove+aliases%2C+tags%2C+o...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...