Skip to content
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

[BUG] relay does not return events #224

Open
Giszmo opened this issue Feb 21, 2023 · 3 comments
Open

[BUG] relay does not return events #224

Giszmo opened this issue Feb 21, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Giszmo
Copy link

Giszmo commented Feb 21, 2023

Describe the bug

The relay accepts websocket connections and queries but does not return data

following information):**

  • OS: Ubuntu
  • Platform: docker
  • Version: e99ac5d

Logs

nostream          | uncaught error: [ErrorReply: LOADING Redis is loading the dataset in memory]
nostream          | uncaught error: RangeError: Invalid WebSocket frame: RSV1 must be clear
nostream          |     at Receiver.getInfo (/app/node_modules/ws/lib/receiver.js:199:14)
nostream          |     at Receiver.startLoop (/app/node_modules/ws/lib/receiver.js:146:22)
nostream          |     at Receiver._write (/app/node_modules/ws/lib/receiver.js:84:10)
nostream          |     at writeOrBuffer (node:internal/streams/writable:392:12)
nostream          |     at _write (node:internal/streams/writable:333:10)
nostream          |     at Writable.write (node:internal/streams/writable:337:10)
nostream          |     at Socket.socketOnData (/app/node_modules/ws/lib/websocket.js:1274:35)
nostream          |     at Socket.emit (node:events:513:28)
nostream          |     at addChunk (node:internal/streams/readable:324:12)
nostream          |     at readableAddChunk (node:internal/streams/readable:297:9) {
nostream          |   code: 'WS_ERR_UNEXPECTED_RSV_1',
nostream          |   [Symbol(status-code)]: 1002
nostream          | }
nostream          | uncaught error: RangeError: Max payload size exceeded
nostream          |     at Receiver.haveLength (/app/node_modules/ws/lib/receiver.js:387:16)
nostream          |     at Receiver.getPayloadLength64 (/app/node_modules/ws/lib/receiver.js:373:17)
nostream          |     at Receiver.startLoop (/app/node_modules/ws/lib/receiver.js:152:22)
nostream          |     at Receiver._write (/app/node_modules/ws/lib/receiver.js:84:10)
nostream          |     at writeOrBuffer (node:internal/streams/writable:392:12)
nostream          |     at _write (node:internal/streams/writable:333:10)
nostream          |     at Writable.write (node:internal/streams/writable:337:10)
nostream          |     at Socket.socketOnData (/app/node_modules/ws/lib/websocket.js:1274:35)
nostream          |     at Socket.emit (node:events:513:28)
nostream          |     at addChunk (node:internal/streams/readable:324:12) {
nostream          |   code: 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',
nostream          |   [Symbol(status-code)]: 1009
nostream          | }

Additional context
The log above is right after a new start of the relay. All workers give the first line's error and then "Invalid WebSocket frame" and "RangeError" alternate.

@Giszmo Giszmo added the bug Something isn't working label Feb 21, 2023
@Giszmo
Copy link
Author

Giszmo commented Feb 25, 2023

Well, my relay is dead and I don't know how to revive it. :(

@pete-nice
Copy link

I'm getting the same error. :(

@pete-nice
Copy link

 | uncaught error: RangeError: Invalid WebSocket frame: RSV1 must be clear

nostream | at Receiver.getInfo (/app/node_modules/ws/lib/receiver.js:199:14)
nostream | at Receiver.startLoop (/app/node_modules/ws/lib/receiver.js:146:22)
nostream | at Receiver._write (/app/node_modules/ws/lib/receiver.js:84:10)
nostream | at writeOrBuffer (node:internal/streams/writable:392:12)
nostream | at _write (node:internal/streams/writable:333:10)
nostream | at Writable.write (node:internal/streams/writable:337:10)
nostream | at Socket.socketOnData (/app/node_modules/ws/lib/websocket.js:1274:35)
nostream | at Socket.emit (node:events:513:28)
nostream | at addChunk (node:internal/streams/readable:324:12)
nostream | at readableAddChunk (node:internal/streams/readable:297:9) {
nostream | code: 'WS_ERR_UNEXPECTED_RSV_1',
nostream | [Symbol(status-code)]: 1002
nostream | }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants