Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[BUG] relay does not return events

Aperta
#224 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@cameri ci sta già lavorando.

Dal 21/2/2023.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug

Describe the bug

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

following information):**

  • OS: Ubuntu
  • Platform: docker
  • Version: e99ac5d02bc

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.

Lingua principale
TypeScript
Stelle
829
Fork
234
Merge medio
4g 5h
PR unite (30g)
22

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cameri/nostream

Tutte le issue di cameri/nostream

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.