Discussions

Ask a Question
Back to All

Pipecat Bug? Failed to connect to media server?

Hello,

I am new here, but wondering if this is a bug or if there's an issue with HeyGen servers?

I am getting this error in my terminal logs when using pipecat.

Error receiving message from websocket: received 1011 (internal error) Failed to connect to media server; then sent 1011 (internal error) Failed to connect to media server

I am following the docs here: https://docs.heygen.com/docs/interactive-avatar-realtime-api. I realize this is in alpha, but I'm looking for confirmation that the issue is not on my end and if it is what should I be doing differently.

2025-05-03 22:06:20.933 | INFO | pipecat.services.deepgram:_connect:194 - DeepgramSTTService#0: Connected to Deepgram
2025-05-03 22:06:21.130 | INFO | heygen_video_service:start:54 - HeyGenVideoService starting
2025-05-03 22:06:21.130 | INFO | heygen_video_service:_ws_connect:74 - HeyGenVideoService ws connecting
2025-05-03 22:06:21.503 | ERROR | heygen_video_service:_ws_receive_task_handler:111 - Error receiving message from websocket: received 1011 (internal error) Failed to connect to media server; then sent 1011 (internal error) Failed to connect to media server

***Thanks!