Skip to content

WebSocket error when recreating transcript for long audio files (71+ mins) #4739

@hyper-charlie

Description

@hyper-charlie

Description

Cannot recreate transcript for a 71-minute audio MP3 file. When pressing the redo icon on the transcript tab, the app fails with a WebSocket message-too-large error.

Steps to Reproduce

  1. Have a 71-minute audio MP3 file
  2. Navigate to the transcript tab
  3. Press the redo icon to recreate the transcript
  4. The app attempts to analyze the audio

Expected Behavior

The transcript should be successfully recreated from the long-form audio file.

Actual Behavior

WebSocket connection closes with error: RemoteClosed(code=Some(1009), reason="")

  • Code 1009 indicates the message is too large for the WebSocket endpoint

Environment

  • Platform: macOS
  • Architecture: aarch64
  • OS Version: macOS 26.4
  • App Version: 1.0.17
  • Build: 866a098
  • Audio Duration: ~71 minutes

Root Cause

The WebSocket payload for transcript recreation likely exceeds the configured message size limit when handling long-form audio content.

Notes

This appears to be a limitation with how transcript recreation requests are serialized over WebSocket. Consider either:

  • Increasing WebSocket message size limits
  • Chunking the transcript recreation for long audio files
  • Using an alternative protocol for large payloads

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions