[BUG] uncaught error: RangeError: Invalid WebSocket frame: RSV1 must be clear
維護者通常 1 天內回覆
@cameri 已經在處理了。
開始於 2023年3月5日。
評估
這個 Issue 還沒有評估資料。
描述
Describe the bug
During the last couple of days my nostream implementation failed with an error multiple times.
I had to manually restart nostream.
When nostream crashes the following errors showed in the logs:
| uncaught error: RangeError: Invalid WebSocket frame: RSV1 must be clear
| at Receiver.getInfo (/app/node_modules/ws/lib/receiver.js:199:14)
| at Receiver.startLoop (/app/node_modules/ws/lib/receiver.js:146:22)
| at Receiver._write (/app/node_modules/ws/lib/receiver.js:84:10)
| at writeOrBuffer (node:internal/streams/writable:392:12)
| at _write (node:internal/streams/writable:333:10)
| at Writable.write (node:internal/streams/writable:337:10)
| at Socket.socketOnData (/app/node_modules/ws/lib/websocket.js:1274:35)
| at Socket.emit (node:events:513:28)
| at addChunk (node:internal/streams/readable:324:12)
| at readableAddChunk (node:internal/streams/readable:297:9) {
| code: 'WS_ERR_UNEXPECTED_RSV_1',
| [Symbol(status-code)]: 1002
| }
To Reproduce
I don't know how to reproduce it. But of course I am willing to help to track it down.
Expected behavior
No error :-)
System (please complete the following information):
- OS: Ubuntu 22.04.2
- Platform: docker
- Version: 1.22.06
Logs
No more logs before and after the stacktrace.
Additional context
Others seem to have the same problem:
https://github.com/Cameri/nostream/pull/225#issuecomment-1448713377
- 主要語言
- TypeScript
- 星號
- 829
- 分支
- 234
- 平均合併
- 2 天 10 小時
- 30 天內合併 PR
- 24
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
cameri/nostream 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
feat(nip77): advertise NIP-77 in NIP-11 and expose its settings in the admin console可能已有人在做 @Priyanshubhartistm 於 2 天前認領。 未關閉enhancement
cameri/nostream#819 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
feat(nip77): NEG-OPEN/NEG-MSG/NEG-CLOSE wire protocol for the PostgreSQL backend可能已有人在做 @Priyanshubhartistm 於 2 天前認領。 未關閉enhancement
cameri/nostream#817 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
[Admin Console] Ops visibility panels (mirror, workers, NIP-05, storage)可能已有人在做 @Ferryx349 於 2 天前認領。 未關閉Admin Console enhancement
cameri/nostream#816 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
feat(admin): bounded NIP-66 probe history and Network Health timeline可能已有人在做 @Ferryx349 於 6 天前認領。 未關閉Admin Console enhancement
cameri/nostream#800 · 已指派 1 人 ·
維護者通常 1 天內回覆
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 62/100
one-zero-eight/apply-bot#39 ·
-
難度 2/5 1-3 小時 新手友好度 72/100
bigbluebutton/bbb-ui-components-react#108 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 1 天內回覆
-
high priority
難度 2/5 1-3 小時 新手友好度 62/100
CI-CMG/deep-sea-corals-exb#84 · 1 則留言 ·