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]: Websocket message size cannot exceed 65536 bytes websocket error code: 1007 #840

Open
orgads opened this issue Jun 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@orgads
Copy link
Contributor

orgads commented Jun 30, 2024

What happened?

While running startContinuousRecognitionAsync, we received the following error:

Websocket message size cannot exceed 65536 bytes websocket error code: 1007

This looks similar to one of the bugfixes in the release notes for 1.38, but I couldn't find any relevant change in the Node SDK, and the note also relates to Start/StopKeywordRecognition.

Version

1.34.0

What browser/platform are you seeing the problem on?

Node

Relevant log output

No response

@orgads orgads added the bug Something isn't working label Jun 30, 2024
@glharper glharper removed their assignment Jul 19, 2024
@orgads
Copy link
Contributor Author

orgads commented Aug 2, 2024

This happens when we pass a huge phrase list. Is there a way to workaround it?

@rhurey
Copy link
Member

rhurey commented Aug 2, 2024

The bug fix in 1.38 around large WebSocket messages dealt with the native SDK's when a long keyword phrase was spotted on the edge device and the way the audio was replayed to the service.

In this case, they phrase list is sent in one WebSocket message, and the service is configured to accept < 64K messages.

How many phrases are in the phrase list?

@orgads
Copy link
Contributor Author

orgads commented Aug 7, 2024

I don't know for sure, in my logs there are about 900, but the log is incomplete. I can try to ask the customer.

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