\n \n\n```\n\nand my index.mjs:\n\n```js\nimport { Client } from \"appwrite\";\n\nconst client = new Client()\n .setEndpoint(\"https://cloud.appwrite.io/v1\")\n .setProject(\"675ef042003413f106ba\");\n\n// Subscribe to files channel\nclient.subscribe([\"databases.676a27c20025b8a2689b6.collections.6786ac01000d0404b9f7.documents\", \"documents\"], (response) => {\n console.log(response.payload);\n});\n\n```\n\nI load the page vite spins up for my on localhost, and inspect the network in chrome dev tools.\n\nI can see the websocket is connected to, and it sends my subscriptions. When I update a document within the database, within the specified collection, however, I see no updates.\n\nThe collection does not have any permissions or document security setup.\n\nI've also attempted to see the login flow, and have run the same js but using `setSession` as well, and I never see it respond to the connected message like I would expect it to.\n\nI do see regular ping/pong messages being sent and receieved, however.\n\nI also see 0 realtime connections and no data to show on the overview for the project. (I have triple checked that its the correct project)\n\nHave added screenshot of ws conenction, and 0 realtime connection in dashboard.","author":{"@type":"Person","name":"Pingu"},"datePublished":"2025-01-23T01:44:13.820Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/LikeAction","userInteractionCount":0}}}
Skip to content
Back
Realtime

Realtime - Struggling to get anything working

Votes

0

Replies

0

Participants

Unknown

Messages

1

PinguOriginal post

Quality

Join the discussion

Reply to this thread by joining our Discord.

Reply on Discord