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
Rate this page:
1
2
3
4
5
On this page
ERROR: 31921
Description
Possible Causes
Possible Solutions
On this page
ERROR: 31921
Description
Possible Causes
Possible Solutions
Stream - WebSocket - Close Error
ERROR: 31921
error-31921 page anchor
PROGRAMMABLE VOICE
ERROR
Description
description page anchor
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
(link takes you to an external page)
The Media Stream has received a websocket close event defined by
https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent
(link takes you to an external page)
Possible Solutions
possible-solutions page anchor
Verify error logs in the remote websocket server
Rate this page:
1
2
3
4
5