alphacep / alphacep/vosk-server

ERROR:websockets.server:Error in connection handler

Đang mở
#223 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1.3k
Fork
317
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

ERROR:websockets.server:Error in connection handler
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/websockets/protocol.py", line 827, in transfer_data
message = await self.read_message()
File "/usr/lib/python3/dist-packages/websockets/protocol.py", line 895, in read_message
frame = await self.read_data_frame(max_size=self.max_size)
File "/usr/lib/python3/dist-packages/websockets/protocol.py", line 971, in read_data_frame
frame = await self.read_frame(max_size)
File "/usr/lib/python3/dist-packages/websockets/protocol.py", line 1047, in read_frame
frame = await Frame.read(
File "/usr/lib/python3/dist-packages/websockets/framing.py", line 105, in read
data = await reader(2)
File "/usr/lib/python3.9/asyncio/streams.py", line 723, in readexactly
await self._wait_for_data('readexactly')
File "/usr/lib/python3.9/asyncio/streams.py", line 517, in _wait_for_data
await self._waiter
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/websockets/server.py", line 191, in handler
await self.ws_handler(self, path)
File "/opt/vosk-server/websocket/./asr_server.py", line 38, in recognize
message = await websocket.recv()
File "/usr/lib/python3/dist-packages/websockets/protocol.py", line 509, in recv
await self.ensure_open()
File "/usr/lib/python3/dist-packages/websockets/protocol.py", line 812, in ensure_open
raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason
INFO:root:Connection from ('172.17.0.1', 37984)
INFO:root:Config {'sample_rate': 8000}
INFO:root:Connection from ('172.17.0.1', 37988)
INFO:root:Config {'sample_rate': 8000}
INFO:root:Connection from ('172.17.0.1', 37992)
INFO:root:Config {'sample_rate': 8000}
INFO:root:Connection from ('172.17.0.1', 37996)
INFO:root:Connection from ('172.17.0.1', 38000)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.