# 31921: Stream - WebSocket - Close Error

Log Type: APPLICATION

Log Level: ERROR

## Description

The remote server has closed the WebSocket connection

### Possible causes

* 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

* Verify error logs in the remote websocket server
