-
Notifications
You must be signed in to change notification settings - Fork 4
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: MASK must be clear #384
Comments
Which device do you try to add? |
D-Link WSP-D118 |
Sorry, I really do not want to push here, but can we speed up our communication a bit? I want to know it if will be possible to use this device with ioBroker. If not I would like to return the device. But if it takes days for every reaction, I doubt that I will be in the returning time frame anymore. Thank you so much for your help. PS: It is okay, if you tell me, that you do not have the time to work things out quicker. Then I pack it up and return it. It is not a necessary device. |
Never mind. I will return it. |
Sorry for not respoding to you earlier. The D118 on the other hand seems to be too much locked down to work properly with the adapter... not sure... I have one here and never really got it working. So it probably is for the best that you returned it. |
Describe the bug
After adding the device, the adapter crashes with a Websocket error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The instance should start and enable the device.
Screenshots & Logfiles
host.iobroker
2024-01-05 00:17:13.262 error instance system.adapter.mydlink.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
host.iobroker
2024-01-05 00:17:13.262 error Caught by controller[0]: }
host.iobroker
2024-01-05 00:17:13.262 error Caught by controller[0]: [Symbol(status-code)]: 1002
host.iobroker
2024-01-05 00:17:13.262 error Caught by controller[0]: code: 'WS_ERR_UNEXPECTED_MASK',
host.iobroker
2024-01-05 00:17:13.262 error Caught by controller[0]: at addChunk (node:internal/streams/readable:368:12) {
host.iobroker
2024-01-05 00:17:13.261 error Caught by controller[0]: at TLSSocket.emit (node:domain:489:12)
host.iobroker
2024-01-05 00:17:13.261 error Caught by controller[0]: at TLSSocket.emit (node:events:517:28)
host.iobroker
2024-01-05 00:17:13.261 error Caught by controller[0]: at TLSSocket.socketOnData (/opt/iobroker/node_modules/ws/lib/websocket.js:1297:35)
host.iobroker
2024-01-05 00:17:13.261 error Caught by controller[0]: at Receiver.Writable.write (node:internal/streams/writable:337:10)
host.iobroker
2024-01-05 00:17:13.261 error Caught by controller[0]: at _write (node:internal/streams/writable:333:10)
host.iobroker
2024-01-05 00:17:13.261 error Caught by controller[0]: at writeOrBuffer (node:internal/streams/writable:392:12)
host.iobroker
2024-01-05 00:17:13.261 error Caught by controller[0]: at Receiver._write (/opt/iobroker/node_modules/ws/lib/receiver.js:98:10)
host.iobroker
2024-01-05 00:17:13.261 error Caught by controller[0]: at Receiver.startLoop (/opt/iobroker/node_modules/ws/lib/receiver.js:159:16)
host.iobroker
2024-01-05 00:17:13.260 error Caught by controller[0]: at Receiver.getInfo (/opt/iobroker/node_modules/ws/lib/receiver.js:344:26)
host.iobroker
2024-01-05 00:17:13.260 error Caught by controller[0]: RangeError: Invalid WebSocket frame: MASK must be clear
mydlink.0
2024-01-05 00:17:13.118 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
mydlink.0
2024-01-05 00:17:13.116 info terminating
mydlink.0
2024-01-05 00:17:13.116 info cleaned everything up...
mydlink.0
2024-01-05 00:17:12.875 error Exception-Code: WS_ERR_UNEXPECTED_MASK: Invalid WebSocket frame: MASK must be clear
mydlink.0
2024-01-05 00:17:12.872 error RangeError: Invalid WebSocket frame: MASK must be clear at Receiver.getInfo (/opt/iobroker/node_modules/ws/lib/receiver.js:344:26) at Receiver.startLoop (/opt/iobroker/node_modules/ws/lib/receiver.js:159:16) at Receiver._write (/opt/iobroker/node_modules/ws/lib/receiver.js:98:10) at writeOrBuffer (node:internal/streams/writable:392:12) at _write (node:internal/streams/writable:333:10) at Receiver.Writable.write (node:internal/streams/writable:337:10) at TLSSocket.socketOnData (/opt/iobroker/node_modules/ws/lib/websocket.js:1297:35) at TLSSocket.emit (node:events:517:28) at TLSSocket.emit (node:domain:489:12) at addChunk (node:internal/streams/readable:368:12)
mydlink.0
2024-01-05 00:17:12.871 error uncaught exception: Invalid WebSocket frame: MASK must be clear
Versions:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: