Discussions

Ask a Question
Back to All

interactive websocket immediately disconnecting

Hi there,

I keep creating interactive avatar sessions and trying to websocket connect to this endpoint (replacing the session id as needed):

wss://webrtc-signaling.heygen.io/v2-alpha/interactive-avatar/session/5965dd8a-1546-11f0-a951-a65f3dc8503c

unfortunately, when i connect to it the websocket immediately disconnects.

I get this error: Error sending message to websocket: received 1011 (internal error) Failed to connect to media server; then sent 1011 (internal error) Failed to connect to media server

Any advice? I'm using the https://github.com/HeyGen-Official/pipecat-realtime-demo code.

Does this require a paid api plan by chance?