You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Admin playback commands fail when the request lands on another API replica #2283
Administrator playback commands only work on the API replica that holds the session. In a deployment with more than one API replica, Pause, Resume, Stop and Message from the Activity page fail with "This playback session has already ended." whenever the admin request lands on a different replica than the one serving the player. Operators running Silo as a cluster cannot reliably control active playback.
The playback session, its realtime control lane (RealtimeHub) and the sequenced command ledger all live in the memory of the process that serves the session. An admin request on another replica finds no local session and answers 404. Terminate partly works: it revokes the attempt durably through the stopped attempt row and the stream deny marker, but answers delivery: "unavailable", so the player is not told and the owning replica keeps its in-memory session until idle expiry.
Reproduction
Commands assume the repository root is the cwd.
Run two API replicas against the same Postgres and Redis, behind a load balancer without admin-route affinity.
Start playback on a client; note which replica serves its control socket.
Send POST /api/v2/admin/sessions/{id}/pause to the other replica. It answers 404 not_found ("Playback session not found.").
Single-node deployments and remote transcode nodes are not affected; this was checked during the #1205 validation with a separate transcode node.
Possible direction
Route admin commands to the replica that owns the session's control lane, for example by publishing the command on Redis (the event bus already spans replicas) and letting the owning replica dispatch it and record the receipt, or by recording lane ownership so the receiving replica can forward the request. The command ledger's applied-once ordering has to survive that hop.
Related: #1205 (validation), #305 (cross-node enforcement for terminate and caps)
Which Silo version or commit and playback client did you use for the two-API-replica reproduction? That will help distinguish this routing failure from the unreachable-player fallback addressed in #2280.
Activity
silo-triage commentedon Oct 11, 2026
Which Silo version or commit and playback client did you use for the two-API-replica reproduction? That will help distinguish this routing failure from the unreachable-player fallback addressed in #2280.