Troubleshooting
No transcriptions showing
Section titled “No transcriptions showing”Server logs show text but client doesn’t: check transcription_provider.dart listens for transcription / partial / final:
case 'transcription':case 'partial':case 'final': // handle textApp crashes on restart
Section titled “App crashes on restart”Ensure AudioService._cleanup() disposes VadHandler:
Future<void> _cleanup() async { await _stopVad(); await _chunkController?.close();}VAD not detecting voice
Section titled “VAD not detecting voice”Adjust thresholds in audio_service.dart:
positiveSpeechThreshold: 0.3,negativeSpeechThreshold: 0.2,minSpeechFrames: 2,Lower thresholds for quiet speakers.
Connection failed
Section titled “Connection failed”- Server running?
curl -i ws://localhost:8765or check logs - Firewall allows
8765 - Same network / correct
kWsUrlIP - For Web: must be HTTPS page +
wss://if server behind TLS; browsers block insecurews://from HTTPS
Slow transcription (>500ms)
Section titled “Slow transcription (>500ms)”- Use Int8 model (default is Int8)
- Enable CUDA/DirectML via
transcribe-rs - Reduce chunk size in VAD config
- Try a smaller model:
--model Canary180Mor--model MoonshineTiny(tiny vs 0.6B)
Models not downloading
Section titled “Models not downloading”Check models/ permissions and connectivity (HuggingFace + mirror tarballs for Moonshine/SenseVoice/Whisperfile). Run with --model-dir to an empty writable dir and --autodownload-model. An unknown --model name prints all valid flags. See Supported Models.
Model manager errors
Section titled “Model manager errors”- “Model is not installed. Download it first.” — the
load_modelcommand was sent for a model whose files are missing. Download it from the model manager or run the server with--autodownload-model. - “Cannot delete the active model.” — load another model first, then delete the old one.
- “The server did not answer the model list request.” — the WebSocket disconnected. Check the server IP and that port
8765is reachable. - A feature-gated model is missing —
WhisperTinyEn/WhisperSmallrequire a build with--features whisper-cpp;WhisperfileSmallrequires--features whisperfile. The published Docker image and binaries are ONNX-only.
APK not installing
Section titled “APK not installing”Enable “Install unknown apps” on Android. Release APKs are signed with debug keystore by default — for production, configure signing in android/app/build.gradle.