Skip to content
Back

Realtime not processing messages

  • 0
  • Self Hosted
  • Realtime
LordHaywood
19 Apr, 2026, 09:47

When subscribing to realtime events of database, the client's websocket receives the messages in the websocket feed, but doesn't call the specific message handler (lambda) in the subscribe. I'm using the self hosted 1.8.1. I'm using the javascript sdk

TL;DR
Issue: Messages being received in the WebSocket feed but specific message handlers not being called in the subscribe function when using realtime events with the self-hosted 1.8.1 and JavaScript SDK. Solution: Check the connection between the WebSocket feed and the message handler in the subscribe function for any potential issues such as incorrect event bindings or syntax errors that may be preventing the handler from being triggered. Also, ensure that the message handler (lambda) is correctly defined and assigned within the subscription code.
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