Add localhost->127.0.0.1 fallback for transcription fetch

This commit is contained in:
William Valentin
2026-02-22 20:26:38 -08:00
parent 58eee60023
commit 3d59e5ea9d
6 changed files with 111 additions and 8 deletions
@@ -43,6 +43,8 @@ curl -sS -i -X POST http://localhost:18801/v1/audio/transcriptions \
- Flynn could not connect to the transcription endpoint for that attempt (transport/connectivity timeout/reset).
- Confirm endpoint is reachable from Flynn host and check `whisper-server` logs around the same timestamp.
- If this is intermittent, Flynn now retries transient failures before returning an error.
- If you use `localhost` in config and this persists, set endpoint host to `127.0.0.1` to avoid local name-resolution edge cases:
- `http://127.0.0.1:18801/v1/audio/transcriptions`
- `[No speech detected]`
- Request succeeded and endpoint returned empty transcript text.