Hi team, i deployed an agent to LiveKit Cloud and ...
# cloud
m
Hi team, i deployed an agent to LiveKit Cloud and it was working well. Today i tried to run it again and the connection with Eleven labs seems to be timing out, here the logs from the cloud: livekit.agents._exceptions.APITimeoutError: 11labs tts timed out after 10.0 seconds (body=None, retryable=True) I've already check Eleven labs api keys, restarted the agent , but connections keeps timing out. In my local the agent is working well. Here more context: -I am using elevenlabs plugin for text-to-speech model="eleven_turbo_v2_5", Any idea what might be the issue? As said, elevenlabs connection started timing out frm one day to the other without modifying agent livekit cloud
r
I've seen folks in the past have nearly this exact same report. I am not sure what causes it but it. This is what fixed it for others: https://livekit-users.slack.com/archives/C07FY8WHGPM/p1760005142782149?thread_ts=1759910828.208129&cid=C07FY8WHGPM I am not sure if it will be same for you since you say the same key works for your locally.
I would give ^ a try and see if that resolves the issue you are seeing.
If it does resolve the issue ElevenLabs support may have more details about why that happened (which I would love to know if you find out)
m
Thanks Wilson, that's exactly the same issue, when switching to Cartesia it works. I tried generating a new API key for 11labs as Sunny suggested but the issue persists. Any idea on how to proceed?
i think i found the issue, the same day it stopped working, my elevenlabs paid subscription was degraded to free tier. Reading this issue https://github.com/livekit/agents/issues/289, it seems 11labs has an abuse detection system for free tiers, they force to upgrade to paid account when using vpn/proxies, i'll upgrade and see if it works
It would be great if the live kit api could return the original error message returned by 11labs
r
Agreed, it would be nice if the error was more transparent. I will bring it up with the agents team.
m
i confirm that's the issue, using elevenlabs plugin while being in free tier will result in elevenlabs resticting calls from livekit cloud ip. Solution=> upgrade 11labs subscription to paid tier
r
Thank your for the follow up. That will be really helpful for the next person who runs into this.