Skip to contentSkip to navigationSkip to topbar
On this page

Stream - WebSocket - Close Error



ERROR: 31921

error-31921 page anchor
PROGRAMMABLE VOICE
ERROR

The remote server has closed the WebSocket connection

Possible Causes

possible-causes page anchor
  • The remote server ended the connection with a termination code listed in https://tools.ietf.org/html/rfc6455#section-7.4.1
  • The Media Stream has received a websocket close event defined by https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent
  • Verify error logs in the remote websocket server

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.