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

Getting this websockets.exceptions.ConnectionClosedError: code = 1005 (no status code [internal]), no reason error when trying to use index.html client_example #230

Open
mlcatinit opened this issue Jul 12, 2023 · 2 comments

Comments

@mlcatinit
Copy link

Getting this error when using latest english model with Docker Desktop.

I started running the Docker image on Docker Desktop and got inference when using test_microphone.py but when trying to run clicking Listen get this error in logs in Docker Desktop

websockets.exceptions.ConnectionClosedError: code = 1005 (no status code [internal]), no reason

@nshmyrev
Copy link
Contributor

You can check javascript console logs for details

@mlcatinit
Copy link
Author

javascript colsole shows no error, when starting transcript. It worked once, but trying again gives no result, looking at docker console I get these error logs

2023-07-12 12:32:49 ERROR:websockets.server:Error in connection handler
2023-07-12 12:32:49 Traceback (most recent call last):
2023-07-12 12:32:49 File "/usr/lib/python3/dist-packages/websockets/server.py", line 191, in handler
2023-07-12 12:32:49 await self.ws_handler(self, path)
2023-07-12 12:32:49 File "/opt/vosk-server/websocket/./asr_server.py", line 70, in recognize
2023-07-12 12:32:49 await websocket.send(response)
2023-07-12 12:32:49 File "/usr/lib/python3/dist-packages/websockets/protocol.py", line 555, in send
2023-07-12 12:32:49 await self.ensure_open()
2023-07-12 12:32:49 File "/usr/lib/python3/dist-packages/websockets/protocol.py", line 803, in ensure_open
2023-07-12 12:32:49 raise self.connection_closed_exc()
2023-07-12 12:32:49 websockets.exceptions.ConnectionClosedError: code = 1005 (no status code [internal]), no reason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants