# 31920: Stream - WebSocket - Handshake Error

Log Type: APPLICATION

Log Level: ERROR

## Description

The server has returned an HTTP code different from 101 to the connection request sent by stream

See https://tools.ietf.org/html/rfc6455#section-4 for details.

### Possible causes

* The server does not support WebSocket
* The WebSocket protocol is not enabled for the requested URL

### Possible solutions

* Verify WebSocket protocol is enabled in the server
* Verify the path in TwiML URL is actually the one supporting WebSocket
