Cannot send more than 2 properties to my socketio server #5127
Labels
package:socket.io-client
This concerns the "socket.io-client" package
to triage
Waiting to be triaged by a member of the team
The bug
Hi everyone, my bug is easy to understand. I want to send from my next api a message to a socketIO server running with nodejs.
When I try to send a message including an object with 2 or less properties, it's working. But when I send an object with more than 2 properties, the socketIO server don't receive the message
To Reproduce
"socket.io-client": "^4.7.5" for the nextjs Api
"socket.io": "^4.7.5" for the socketio server
SocketIO server
NEXTJS API
Expected behavior
If I run this code, the Socket io server don't console.log the received message (because it's probably not received). But if I remove the "third" property in the next api and in the socketio server, the message is displayed in my terminal
The text was updated successfully, but these errors were encountered: