Relative Content

Tag Archive for javascriptreactjsnext.jswebsocket

Websocket get close with status code 1011 on longer messages in Next js

I am facing an issue with Websocket in Next js
I am building a chat module when send short messages it works correctly but when i send longer messages such as messages that have more than 278 characters precisely the connection get closed cleanly with status code 1011 and no reason given.