Skip to content
Skip to navigation
Skip to topbar
Twilio Logo
Twilio Docs
Search
Search
Messaging
Voice
Serverless
Flex
Studio
All docs...
SDKs
Help
Help
Search
Log in
Sign up
On this page
ERROR: 31921
Description
Possible Causes
Possible Solutions
On this page
ERROR: 31921
Description
Possible Causes
Possible Solutions
Stream - WebSocket - Close Error
Positive Feedback
Negative Feedback
ERROR: 31921
error-31921 page anchor
Positive Feedback
Negative Feedback
PROGRAMMABLE VOICE
ERROR
Description
description page anchor
Positive Feedback
Negative Feedback
The remote server has closed the WebSocket connection
Possible Causes
possible-causes page anchor
Positive Feedback
Negative Feedback
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
Possible Solutions
possible-solutions page anchor
Positive Feedback
Negative Feedback
Verify error logs in the remote websocket server