paritytech / paritytech/litep2p
webrtc: Warning logs spammed for every connection
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 161
- Forks
- 38
- Avg merge
- 13h 43m
- Merged PRs (30d)
- 12
Description
Reproduction path with:
2026-05-25T10:42:30.319671Z INFO litep2p_perf: Event: ConnectionEstablished { peer: PeerId("12D3KooWK5cpS16bj7VQQXzS5xWYyGhUvt6mKSqm7tvL39WPYYQe"), endpoint: Listener { address: /ip4/127.0.0.1/udp/48086/webrtc-direct/certhash/uEiCVH9ycEm6Nl-l04x3WfPLmcyWfIDqscnuQzVYQbQLe3w/p2p/12D3KooWK5cpS16bj7VQQXzS5xWYyGhUvt6mKSqm7tvL39WPYYQe, connection_id: ConnectionId(0) } }
2026-05-25T10:42:30.319936Z WARN str0m: Drop BufferedAmountLow for id: 0
2026-05-25T10:42:30.322256Z WARN str0m: Drop ChannelData event for id: 2
2026-05-25T10:42:30.322269Z WARN str0m: Drop ChannelData event for id: 2
Each connected client will spam at least 3 warnings coming from str0m.
Ideally, we should cleanup the logs before stabilizing webrtc.
For each warning WARN str0m: Drop BufferedAmountLow for id: 0 and WARN str0m: Drop ChannelData event for id: 2:
- investigate what is the root cause of the warnings (ie are we misusing the API?)
- either fix them on the litep2p side or downgrade them upstream
cc @gab8i @skunert @dmitry-markin
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reproduction path in litep2p-perf pull request 4 and inspect the WebRTC handling associated with the BufferedAmountLow and ChannelData warnings from str0m. Determine whether litep2p is misusing the API or whether the warnings should be downgraded upstream. Done means the warning spam is eliminated or appropriately reduced for each connection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- audio-video-rtc, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100