-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Lightpush.send() failure and node disconnection beyond 32 content topics on nwaku v0.25.0 #2478
Comments
@danisharora099 Can you attach logs in greater context of the issue? I mean from the last few successful lightpush send. |
@NagyZoltanPeter can you check logs here, they should be sufficient enough |
The root cause seems to be in When running the test, got the following log
If we configure a higher limit of input streams in Opened the following PR in |
Sounds right! Thank you @gabrielmer ! |
Fixed by waku-org/js-waku#2021 |
Problem
When testing with
js-waku
againstnwaku
version 0.25.0, a discrepancy in handling lightpush requests beyond 30 content topics was observed, despite recent support extension to 100 content topics. Specifically,lightpush.send()
fails starting from the 33rd execution, resulting in a disconnection from thenwaku
node. This behavior is unexpected and persists across differentnwaku
images tested.Impact
Significant
To reproduce
nwaku
node using theharbor.status.im/wakuorg/nwaku:latest
image or version 0.25.0.js-waku
, subscribe to more than 30 content topics.lightpush.send()
and eventual disconnection from thenwaku
node.PR can be used to repro: waku-org/js-waku#1857:
npm i && npm run build && cd packages/tests && npm run test:node
Expected behavior
The expected behavior was for
js-waku
to successfully send lightpush messages for up to 100 content topics without encountering disconnections or failures, as per the recent extension of support innwaku
.Screenshots/logs
Logs indicate that after the 32nd lightpush message,
lightpush.send()
fails with "Remote peer fault: No response in PushRPC", followed by disconnection errors and warnings related to peer availability.nwaku version/commit hash
The issue was observed in
nwaku
version 0.25.0.Additional context
The problem was initially discussed in a chat thread with nwaku engineers, where it was suggested that the issue could be related to ws stream reset after 32 messages or a potential issue with the mplex configuration. No RLN is used, and the setup was over the default pubsub topic.
Original Discord thread: https://discord.com/channels/1110799176264056863/1201820015284723753
The text was updated successfully, but these errors were encountered: