---
page_type: error
code: 31903
message: "31903: Stream - WebSocket - Connection Broken Pipe"
level: ERROR
product: Programmable Voice
---

## Description

The WebSocket connection has been abruptly closed by the server

### Possible Causes

- WebSocket server is down
- WebSocket server has experienced a problem causing the connection to close
- Connection has been lost
- End of stream is found. This happens when the socket has been closed by the Server leaving the websocket in an inconsistent state. The error is fired when the Streamer tries to read or write in a closed TCP socket.

### Possible Solutions

- Verify server process is up and running
- Verify if there is any related connection error in the server logs
- Verify the server is connected and intermediate elements are routing traffic