crooked-accountant-63197
12/08/2025, 8:03 PM-tts_node: APIError: no audio frames were pushed for text: This is Alex, could you connect me with the owner or the manager, please? (body=None, retryable=True)
-tts_request: APIError: no audio frames were pushed for text: This is Alex, could you connect me with the owner or the manager, please? (body=None, retryable=True)
-tts_request_run: APIConnectionError: Connection error. (body=None, retryable=True)
-Error in _tts_inference_task
-failed to synthesize speech, retrying in 2.0stall-airline-16756
12/08/2025, 8:03 PMtall-airline-16756
12/08/2025, 8:03 PMAPIConnectionError.
What to check and try (in order)
1) Verify TTS descriptor is correct
• Confirm the agent’s TTS config uses the cartesia descriptor format exactly: cartesia/sonic-3:<voice_id> with the correct Tessa voice_id. A wrong descriptor can cause the engine to accept text but produce no audio.
2) Confirm network connectivity from the telephony environment
• APIConnectionError indicates outbound connection failures. Ensure the telephony runtime (SIP/telephony worker) can reach Cartesia endpoints. Check firewall/NAT, egress rules, or proxy settings for that service.
3) Check plugin auth (only if you use the Cartesia plugin)
• If you configured Cartesia via plugin (not LiveKit-hosted inference), confirm the CARTESIA_API_KEY is set for the telephony environment. Missing credentials cause connection/auth failures.
4) Inspect Agent Observability / Trace view
• Open the Agent Session trace for the failed call and verify:
◦ The TTS node receives the exact input text.
◦ Whether a request to Cartesia was sent and what the response/HTTP status was.
◦ Any timingouts or retry attempts.
This pinpoints whether the failure is network, auth, or model-level.
5) Retry with a different model/voice or a minimal text
• Test with another Cartesia voice or a smaller text snippet to see if the issue is model/voice-specific.
• If failures persist across voices, it’s likely environmental (connectivity/auth) rather than the voice.
6) Enable or configure a fallback TTS adapter
• Configure a fallback TTS provider (e.g., ElevenLabs/Deepgram) so telephony can continue if Cartesia is unreachable. This prevents full outages while you investigate.
7) Logs and retry behavior
• Note the system is retrying (your logs show “retrying in 2.0s”). If trace logs show repeated connection failures, increase logging level on the telephony worker to capture HTTP request/response details for the Cartesia call.
What I can help next
• If you want, share:
◦ The TTS descriptor string you used (redact secrets/keys).
◦ Whether the telephony runtime uses the LiveKit-hosted Cartesia inference or the Cartesia plugin with CARTESIA_API_KEY.
◦ Any trace excerpt showing the Cartesia request/response (no secrets).
I’ll use that to point to the exact failing step and recommend the next action. Would you like me to walk through checking the trace output with you?
Sources: Cartesia TTS | LiveKit docs | Events and error handling | LiveKit docs | https://blog.livekit.io/streamline-troubleshooting-with-agent-observability/#/portal| | SIP troubleshooting guide | LiveKit docs | Cartesia TTS plugin guide | LiveKit docscrooked-accountant-63197
12/08/2025, 8:05 PMtall-airline-16756
12/08/2025, 8:05 PMAPIConnectionError.
Key checks (do these now)
1) Confirm the voice ID is a supported LiveKit inference voice
• Don’t use a custom or unknown name like “tessa.” Replace it with a confirmed Cartesia Sonic‑3 voice UUID (example format: cartesia/sonic-3:9626c31c-bec5-4cca-baa8-f8ba9e84c8bc). Use a voice from Cartesia’s public voice library.
2) Ensure you’re using the inference descriptor format
• In your agent config use: tts="cartesia/sonic-3:<valid_voice_id>". Do not configure plugin-style instantiation for cloud inference.
3) Remove any Cartesia API keys from your env
• LiveKit Cloud provides inference access; having CARTESIA_API_KEY set can force plugin behavior and cause conflicts. Remove it from your environment variables.
4) Test a simple TTS call and check the Agent Trace
• Trigger a minimal say() (short text) in the agent and open Agent Session -> Trace for that call. Confirm the TTS node receives text and inspect the Cartesia request/response and any HTTP status or timeout.
5) Try a different built-in voice or model
• Swap to another confirmed Cartesia voice (or model) to see if failures persist. If other voices work, the original voice was the issue.
6) Add a fallback TTS provider (temporary mitigation)
• Configure a FallbackAdapter with another TTS (e.g., ElevenLabs) so telephony remains functional while you isolate Cartesia issues.
If you’d like, share:
• The exact tts= descriptor you’re using (redact any secrets).
• A short trace output showing the TTS node request/response (no secrets).
I’ll pinpoint whether it’s an invalid voice descriptor, inference/plugin mismatch, or a transient service error and give the next step.
Sources: Cartesia TTS | LiveKit docs | Text-to-speech (TTS) models | LiveKit Docs | Cartesia TTS plugin guide | LiveKit docs | Models | LiveKit Docs | Events and error handling | LiveKit docs