dm3-org / dm3

The dm3 protocol | New standard of web3 messaging | Decentralized ENS-based registry | Secure end-to-end encryption | Easy dApp integration
https://dm3.network
BSD 2-Clause "Simplified" License
76 stars 18 forks source link

Fix Websocket Bugs #1170

Open AlexNi245 opened 1 month ago

AlexNi245 commented 1 month ago

Sometimes, the WebSocket connection between the delivery service and the web client does not function properly. As a result, messages can only be fetched from the delivery service after a page reload, instead of being instantly delivered via WebSocket.

The cause of this issue is still unclear, but we need to monitor it closely.

Steps to (occasionally) reproduce the issue:

  1. Open DM3 in two separate sessions.
  2. Send messages back and forth.
  3. One client can receive messages, while the other cannot.
malteish commented 1 month ago

https://github.com/user-attachments/assets/4480d6bf-d01e-4653-9fda-d6175272fa49 demo of what it looks like