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

Fix: Error receiving message & Error sending user audio chunk sent 1009 (message too big) #482

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

nextgLoki
Copy link
Contributor

Sometimes using the ConversationalAI demo throwing exceptions like:

  • Error receiving message: sent 1009 (message too big) frame with 1254313 bytes exceeds limit of 1048576 bytes; no close frame received
  • Error sending user audio chunk: sent 1009 (message too big) frame with 1254313 bytes exceeds limit of 1048576 bytes; no close frame received

Seems current ws message limit is too low for some provided sound answers. This fix should fits long response requirements.

@AngeloGiacco AngeloGiacco self-requested a review February 13, 2025 16:15
@AngeloGiacco
Copy link
Collaborator

AngeloGiacco commented Feb 13, 2025

nice catch, i found this same bug in an external user of elevenlabs ws two weeks ago, and now its in our own sdk. annoying. thank you!

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

Successfully merging this pull request may close these issues.

2 participants