---
page_type: error
code: 31901
message: "31901: Stream - WebSocket - Connection Timeout"
level: ERROR
product: Programmable Voice
---

## Description

The WebSocket connection request sent by the stream didn't receive any response from the server

### Possible Causes

- WebSocket server is not connected to any network
- Bad IP address provided in the TwiML URL
- Intermediate elements (like ngrok) are not routing traffic
- There is a firewall blocking the traffic

### Possible Solutions

- Verify server connectivity
- Verify the TwiML URL is correct
- Verify intermediate elements are routing traffic and firewall are not blocking ports