You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created waku-dispatcher some time ago to overcome some of the drawbacks of js-waku - mainly the unreliability in peer connections and message delivery.
I tried to update to latest version (0.0.23), which solved my issues with lightpush (and not being able to publish), but it is somehow breaking filter and my example app fails to receive any messages.
Let me describe the flow:
Dispatcher gets initialized
dispatcher.start() then subscribes to the configured contentTopic
Dispatcher sets up an interval where it attempts to check the subscription (unsing ping) and it tries to unsubscribe and subscribe again if the ping fails
One way to overcome the errors is to clear the waku:peers localStorage field - everything works fine for ~5-10 minutes after I clean it, but then the errors come back again.
It is highly possible, that my subscription or peers handling is wrong in waku-dispatcher, but I cannot find any obvious issue
How to reproduce
git clone https://github.com/vpavlin/waku-dispatcher.git
cd waku-dispatcher
git checkout chore/update-waku
npm install
npm run build
cd example
npm install ../
npm start
Notes
The text was updated successfully, but these errors were encountered:
Actually, that failed after some time also. The strange part is that everythign works perfectly for a while when I clean up the waku:peers localstorage cache.
This is a support request
Problem
I created waku-dispatcher some time ago to overcome some of the drawbacks of js-waku - mainly the unreliability in peer connections and message delivery.
I tried to update to latest version (0.0.23), which solved my issues with
lightpush
(and not being able to publish), but it is somehow breakingfilter
and my example app fails to receive any messages.Let me describe the flow:
dispatcher.start()
then subscribes to the configuredcontentTopic
ping
) and it tries to unsubscribe and subscribe again if the ping failsWhen I publish the message using the example (https://github.com/vpavlin/waku-dispatcher/tree/chore/update-waku/example) it initially gets delivered fine, but over time the delivery (using
filter
) starts failing and then even the re-subscription attempts start to fail.Various errors seen:
One way to overcome the errors is to clear the
waku:peers
localStorage field - everything works fine for ~5-10 minutes after I clean it, but then the errors come back again.It is highly possible, that my subscription or peers handling is wrong in
waku-dispatcher
, but I cannot find any obvious issueHow to reproduce
Notes
The text was updated successfully, but these errors were encountered: