dry-france-22717
09/11/2025, 8:01 AM{
"message": "failed to synthesize speech, retrying in 0.1s\nTraceback (most recent call last):\n File \"/home/appuser/.local/lib/python3.11/site-packages/livekit/plugins/elevenlabs/tts.py\", line 420, in _run\n await waiter\nlivekit.agents._exceptions.APITimeoutError: 11labs tts timed out after 10.0 seconds (body=None, retryable=True)\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/home/appuser/.local/lib/python3.11/site-packages/livekit/agents/tts/tts.py\", line 357, in _main_task\n await self._run(output_emitter)\n File \"/home/appuser/.local/lib/python3.11/site-packages/livekit/plugins/elevenlabs/tts.py\", line 426, in _run\n raise APIStatusError(\"Could not synthesize\") from e\nlivekit.agents._exceptions.APIStatusError: Could not synthesize (status_code=-1, request_id=None, body=None, retryable=True)",
"level": "WARNING",
"name": "livekit.agents",
"tts": "livekit.plugins.elevenlabs.tts.TTS",
"attempt": 1,
"streamed": true,
"pid": 101,
"job_id": "AJ_vQwvvyYS7da6",
"timestamp": "2025-09-11T07:59:45.012366+00:00"
}
Lib versions -
livekit==1.0.12
livekit-agents==1.2.4
livekit-plugins-elevenlabs==1.2.4dry-france-22717
09/11/2025, 8:53 AMechoing-kitchen-90064
09/11/2025, 3:17 PM11labs tts timed out after 10.0 seconds
taking a look at https://status.elevenlabs.io/ they did have some issues yesterday on the calendar, but i'm not able to see timestamps to check if they matched up.
I know the sdk has a fallback adapter, not sure if that works with tts though. We're working on exposing more metrics around issues like this and offering additional workarounds when the services are downdry-france-22717
09/11/2025, 5:26 PMechoing-kitchen-90064
09/11/2025, 5:30 PMdry-balloon-74053
09/14/2025, 10:16 AMechoing-kitchen-90064
09/14/2025, 4:30 PMabundant-activity-82320
09/14/2025, 10:54 PM11labs tts timed out after 10.0 seconds in prodechoing-kitchen-90064
09/14/2025, 11:05 PMabundant-activity-82320
09/14/2025, 11:19 PMIs this intermittent or does it persist?it persists
What is your project id and/or agent id?agent id is A_BDEVyW5D822v
Are you setting a specific 11labs api endpoint or using the default?nope. I tested with both turbo 2.5 and flash 2.5. all result in the issue above
echoing-kitchen-90064
09/14/2025, 11:23 PMA_BDEVyW5D822v is a self-hosted agent, not a cloud-agent. you might need to check your firewall rulesabundant-activity-82320
09/14/2025, 11:32 PMechoing-kitchen-90064
09/14/2025, 11:37 PMabundant-activity-82320
09/15/2025, 12:38 AMelevenlabs.core.api_error.ApiError: headers: {'date': 'Mon, 15 Sep 2025 00:33:48 GMT', 'server': 'uvicorn', 'content-length': '476', 'content-type': 'application/json', 'access-control-allow-origin': '*', 'access-control-allow-headers': '*', 'access-control-allow-methods': 'POST, PATCH, OPTIONS, DELETE, GET, PUT', 'access-control-max-age': '600', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-trace-id': '2aeb06e3aa1746e7a364770ced7c1078', 'x-region': 'us-central1', 'via': '1.1 google, 1.1 google', 'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'}, status_code: 401, body: {'detail': {'status': 'detected_unusual_activity', 'message': 'Unusual activity detected. Free Tier usage disabled. If you are using a proxy/VPN you might need to purchase a Paid Plan to not trigger our abuse detectors. Free Tier only works if users do not abuse it, for example by creating multiple free accounts. If we notice that many people try to abuse it, we will need to reconsider Free Tier altogether. \nPlease play fair and purchase any Paid Subscription to continue.'}}
i upgraded to a paid plan and now it works 🤷dry-balloon-74053
09/15/2025, 12:45 AMpolite-school-16734
10/08/2025, 8:57 AMlivekit.agents._exceptions.APITimeoutError: 11labs tts timed out after 10.0 seconds
...
livekit.agents._exceptions.APIStatusError: Could not synthesize (status_code=-1, request_id=None, body=None, retryable=True)
For extra context:
• It works fine during dev, but is a persistent issue with the deployed version
• agent ID is AD_kpRTqQCmWZMp
• I'm on a paid ElevenLabs plan (creator)
• I am using the ElevenLabs plugin rather than LiveKit inference so I can use custom voices
• If I use another STT like Cartesia, it works fine, meaning LLM & TTS nodes are not the issueechoing-kitchen-90064
10/08/2025, 5:16 PMpolite-school-16734
10/09/2025, 10:19 AMtall-ability-14645
10/24/2025, 7:03 AMlivekit.agents._exceptions.APIStatusError: Could not synthesize (status_code=-1, request_id=None, body=None, retryable=True) . Removed the language and it solved.