Common Issues
- No API key — Set
OPENAI_API_KEY(for OpenAI Realtime) orGEMINI_API_KEY/GOOGLE_API_KEY(for Gemini Live). The proxy logsno OPENAI_API_KEYorno GEMINI_API_KEYif missing. - Network / firewall — Both providers use outbound WebSocket (
wss://). Ensure ports 443 are open. The proxy retries 3 times with exponential backoff before failing. - Expired or invalid key — A
401from the provider appears asRealtime API errorin logs. Rotate the key and restart. - Wrong model name — Default models are
gpt-4o-realtime-preview-2024-12-17(OpenAI) andgemini-2.0-flash-live-001(Gemini). Override withFERAL_GEMINI_LIVE_MODELenv var. - Checking logs — Voice logs under
feral.voice.openaiandferal.voice.gemini. SetFERAL_LOG_LEVEL=DEBUGto see per-chunk latency and connection attempts.
