You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched for any related issues and avoided creating a duplicate issue.
Description
Yesterday i've updated my client to nodejs 22.7.0 and it started to give this error after a while:
Error: Invalid WebSocket frame: invalid UTF-8 sequence
at Receiver.dataMessage (/root/b-core-mongo/node_modules/ws/lib/receiver.js:583:28)
at /root/b-core-mongo/node_modules/ws/lib/receiver.js:530:12
at /root/b-core-mongo/node_modules/ws/lib/permessage-deflate.js:309:9
at /root/b-core-mongo/node_modules/ws/lib/permessage-deflate.js:392:7
at afterWrite (node:internal/streams/writable:708:5)
at onwrite (node:internal/streams/writable:686:7)
at Zlib.cb (node:internal/streams/transform:191:7)
at Zlib.processCallback (node:zlib:632:8) {
code: 'WS_ERR_INVALID_UTF8',
[Symbol(status-code)]: 1007
}
Error: Invalid WebSocket frame: invalid UTF-8 sequence
at Receiver.dataMessage (/root/b-core-mongo/node_modules/ws/lib/receiver.js:583:28)
at /root/b-core-mongo/node_modules/ws/lib/receiver.js:530:12
at /root/b-core-mongo/node_modules/ws/lib/permessage-deflate.js:309:9
at /root/b-core-mongo/node_modules/ws/lib/permessage-deflate.js:392:7
at afterWrite (node:internal/streams/writable:708:5)
at onwrite (node:internal/streams/writable:686:7)
at Zlib.cb (node:internal/streams/transform:191:7)
at Zlib.processCallback (node:zlib:632:8) {
code: 'WS_ERR_INVALID_UTF8',
[Symbol(status-code)]: 1007
}
Attachments
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description
Yesterday i've updated my client to nodejs 22.7.0 and it started to give this error after a while:
My client configuration is
My server configuration is:
Bufferutil installed.
With node 22.6.0 all works well.
One thing that i can say is that i send lot of json strings.
ws version
8.18.0
Node.js Version
22.7.0
System
OS: Linux 6.8 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
CPU: (12) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Memory: 12.68 GB / 15.28 GB
Container: Yes
Shell: 5.2.21 - /bin/bash
Expected result
no errors thrown
Actual result
Attachments
No response
The text was updated successfully, but these errors were encountered: