Skip to content

speech gateway: closing one warm session breaks the shared worker's other sessions (500 'could not read the synthesized audio') #508

Backlog

Description

@ralyodio

Seen 2026-11-25 12:04 UTC on the vienna speech gateway (c0mpute 0.3.114), from Board as a Service.

What happened: Board restarted, so its old process closed its am_onyx session while the new process opened one. For about a minute after that, every POST /v1/sessions/<id>/say answered 500 could not read the synthesized audio: No such file or directory (os error 2), including on freshly opened sessions. The gateway log shows dropping a broken warm speech worker and every session sharing it ... Error opening '.../speech/sessions/<id>/000003.wav': System error, then a 502, then a new worker coming up. After that, renders work again.

Likely cause: sessions of one voice share a warm worker, and closing one session removes files under a session directory that the shared worker (or another session) still writes into.

Effect: callers that don't retry lose the whole job. Board now retries slide shows after 3, 10 and 30 minutes.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions