Voice mode: fails on Linux due to unsupported Web Speech API
Summary
- Voice mode does not work on Superset desktop (Linux/AppImage)
- Diagnosed as an architectural issue, not a local config problem
- Reproducible: fails regardless of mic/audio setup
Investigation
Voice mode uses the browser-native SpeechRecognition/webkitSpeechRecognition
Web Speech API (confirmed in app.asar: ("SpeechRecognition" in window || "webkitSpeechRecognition" in window), wired via
recognitionRef.current = speechRecognition), not a custom
getUserMedia/MediaRecorder capture path or a cloud STT provider.
Hypothesis: Electron's bundled open-source Chromium does not ship Google's
private API key needed for the Web Speech API's cloud recognition backend,
so on Linux this call typically fails immediately with a network error,
independent of mic hardware or OS permissions.
System audio stack was ruled out: PipeWire/WirePlumber/pipewire-pulse all healthy and running, default mic source present/unmuted at 55% volume, arecord shows working capture devices, and no mic/audio errors appear in Superset's main.log, Sentry queue, or journalctl.
Proposal Wire voice mode to a server-side/cloud STT provider instead of the browser Web Speech API. The app already vendors @ai-sdk provider integrations for Deepgram/Whisper (visible in app.asar) but they aren't connected to the voice feature.
Environment Superset 1.30.2, Pop!_OS 24.04 LTS (Linux x86_64), AppImage
Source: superset-sh/superset