status-web
status-web copied to clipboard
Light Push and Filter eventually stop working
What
Note: Recovery of the messages during periods of disconnect is not the main subject of this issue
~~>Note: Sufficient workaround for Relay at https://github.com/status-im/status-web/pull/288/files~~
- Build project
- Serve /dist
- Visit URL
- Set
debug
to*
in Local Storage - Reload
- Send messages before, during and after going Offline in Network > No throttling > Offline
- Send messages after (several hours) waking computer from sleeping
- See Light Push delivering messages but not "self emitting" to our UI
- See Filter no longer receiving messages
- See
wakuDisconnectionTimer
interval no longer being fired
See errors (in order) during which messaging is not working:
-
WebSocket connection to 'wss://node-01.do-ams3.status.test.statusim.net/p2p/16Uiu2HAkukebeXjTQ9QDBeNDWuGfbaSg79wkkhK4vPocLgR6QFDf' failed:
-
Uncaught (in promise) Error: Muxer already closed
See debug logs.
How
- Either programmatically reload page
- Ping Filter protocol subscriptions with a Waku message and re-subscribe if not delivered
- Automatically resubscribe on reconnect
- Else
Related
- https://github.com/waku-org/js-waku/issues/751
- https://github.com/libp2p/js-libp2p/issues/939
- https://github.com/libp2p/js-libp2p/issues/744
- https://github.com/xmtp/xmtp-js/pull/128
- https://github.com/xmtp/go-waku/pull/29
- https://github.com/vacp2p/rfc/issues/469
- https://github.com/vacp2p/rfc/pull/562
- https://github.com/waku-org/pm/issues/5