ModelEngine-Group / ModelEngine-Group/nexent

[Bug] TTS WebSocket connection interrupted before playback completes

Open
#2,747 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.9k
Forks
731
Avg merge
19h 34m
Merged PRs (30d)
172

Description

Nexent Version

develop

Problem Description

The WebSocket connection for TTS audio streaming closes prematurely (code 1000 - normal closure), but playback may not have finished or all chunks may not have been processed.

Image the one-minute audio track cuts off after only 20 seconds.
Reproduction Steps

No response

Additional Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the TTS WebSocket audio-streaming and playback-completion flow, then reproduce the reported one-minute track cutting off after about 20 seconds. Check how closure code 1000 relates to pending chunks and playback; done means the full stream plays before the connection closes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.