Description
Self-hosted Docker deployment fails to run transcription workflows. The workflow queue crashes immediately with an ArrayBuffer error before reaching Deepgram or any actual transcription logic.
Error from logs:
[local world] Queue operation failed: TypeError: fetch failed
at async (.next/server/chunks/2242.js:30:10424) {
[cause]: TypeError: Cannot perform ArrayBuffer.prototype.slice on a detached ArrayBuffer
at ArrayBuffer.slice ()
}
Expected behavior: Transcription should process and generate captions for videos.
Root cause analysis: The workflow package (4.0.1-beta.42) appears incompatible with Node 24. The current Dockerfile uses node:24-alpine, and the ArrayBuffer detachment error is consistent with V8
changes in newer Node versions affecting buffer handling in the workflow package's local execution mode.
Reproduction
- Deploy
ghcr.io/capsoftware/cap-web:latest via Docker (using Coolify)
- Set
DEEPGRAM_API_KEY environment variable
- Upload a video with audio
- View the video share page
- Observe repeated
[local world] Queue operation failed errors in logs
Additional Context
- Cap version:
ghcr.io/capsoftware/cap-web:latest
- Operating system, version: Docker on Coolify (Linux host)
- Device (optional): Self-hosted server
Container Node version: v24.12.0
Potential fix??? Downgrade to Node 20 or 22 LTS in the Dockerfile, or update the workflow package to a version compatible with Node 24.
Description
Self-hosted Docker deployment fails to run transcription workflows. The workflow queue crashes immediately with an ArrayBuffer error before reaching Deepgram or any actual transcription logic.
Error from logs:
[local world] Queue operation failed: TypeError: fetch failed
at async (.next/server/chunks/2242.js:30:10424) {
[cause]: TypeError: Cannot perform ArrayBuffer.prototype.slice on a detached ArrayBuffer
at ArrayBuffer.slice ()
}
Expected behavior: Transcription should process and generate captions for videos.
Root cause analysis: The
workflowpackage (4.0.1-beta.42) appears incompatible with Node 24. The current Dockerfile usesnode:24-alpine, and the ArrayBuffer detachment error is consistent with V8changes in newer Node versions affecting buffer handling in the workflow package's local execution mode.
Reproduction
ghcr.io/capsoftware/cap-web:latestvia Docker (using Coolify)DEEPGRAM_API_KEYenvironment variable[local world] Queue operation failederrors in logsAdditional Context
ghcr.io/capsoftware/cap-web:latestContainer Node version:
v24.12.0Potential fix??? Downgrade to Node 20 or 22 LTS in the Dockerfile, or update the
workflowpackage to a version compatible with Node 24.