-
Notifications
You must be signed in to change notification settings - Fork 210
WebSocket Connection Resilience #10
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
Comments
I found a problem in the function.Add this code in main.py on the input_audio_buffer.speech_stopped `
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WebSocket Connection Resilience
Description
The WebSocket connection between the client and server is experiencing intermittent closures and errors, leading to interruptions in communication. This affects the reliability of real-time interactions with the AI assistant.
Steps to Reproduce
uv run main
.⚠️ WebSocket connection lost. Reconnecting...
and errors such asConnectionClosedError: no close frame received or sent
.Expected Behavior
The WebSocket connection should maintain stability throughout the session, automatically handling any transient disconnections without significant interruptions.
Actual Behavior
The connection is occasionally lost, leading to warnings and errors that disrupt the communication flow between the client and server.
Potential Solutions
The text was updated successfully, but these errors were encountered: