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
- Domain is owned by a different organizat...
I was trying to add a domain to one of my projects however, it keeps giving me the error of Domain is owned by a different organization. I did have a self hoste...
- API key not having access to database
My api key with read and write access to row and tables and DB I not working. In my test the results returned an empty database. This is the second time I am...
- "Restore project" button fails: "Invalid...
In the dashboard, it clicking "Restore project" fails. The request sent to `PATCH https://cloud.appwrite.io/v1/projects/:project_id` with payload `{status: "act...