peer.on("connection") below the connection.on("data") invalid does not receive a message
Author: yxdtgCreated Dec 23, 2025Updated Mar 23, 2026
Labelsbugunconfirmed
Please, check for existing issues to avoid duplicates.
- No similar issues found.
What happened?
peer.on("connection") below the connection.on("data") invalid does not receive a message
But if it is peer.connect().on("data") it can
How can we reproduce the issue?
No response
What do you expected to happen?
As stated above
Environment setup
- OS: Windows10
- Platform: Browser
- Browser: Chrome143.0.7499.148
Is this a regression?
No response
Anything else?
No response
Source: peers/peerjs