elevenlabs-python icon indicating copy to clipboard operation
elevenlabs-python copied to clipboard

WebSocket endpoint does not work for ElevenLabsEnvironment.PRODUCTION_EU

Open msehnout opened this issue 6 months ago • 1 comments

Hello,

I was following this tutorial: https://elevenlabs.io/docs/websockets

and used the API endpoints according to this file: https://github.com/elevenlabs/elevenlabs-python/blob/1c8c31922cb76f5c6329657ed40f3959c4a64cba/src/elevenlabs/environment.py#L24

but that did not work. Changing the WSS endpoint to the appropriate residency fixes the issue:

uri = f"wss://api.eu.residency.elevenlabs.io/...."

It seems to me that the wss values for EU, US, and India should be updated.

Have a nice day, Martin

msehnout avatar Jul 15 '25 13:07 msehnout

hi, this should be more explicitly resolved by #629

AngeloGiacco avatar Sep 19 '25 08:09 AngeloGiacco