-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid WebSocket frame #1315
Comments
Replace |
Thanks It work |
Getting same error . Any idea . [root@webrtc callback]# node server.js RangeError: Invalid WebSocket frame: MASK must be set const WebSocket = require('ws'); const wss = new WebSocket.Server({ port: 8080 }); wss.on('connection', function connection(ws) { ws.on('message', function incoming(message) { |
Why is this downvoted to oblivion? |
Do you mean downvoted? For me it's downvoted |
Yes, downvoted 😅 |
This method doesn't work for me. My |
0.56.2 uses ws 8.9.0, so that might be worth a try. I wonder if it's caused by some specific clients sending weird/invalid WS data frames... |
Description
I'have a problem whit multi socket
I'have see issue 885
when try to connect to "ws://localhost:2015/screen"
node error :
RangeError: Invalid WebSocket frame
browser(chome) error
WebSocket connection to 'ws://localhost:2015/screen' failed: Invalid frame header
version:
Node.js version(s): 9.4.0
OS version(s): MacOs
The text was updated successfully, but these errors were encountered: