moses_34155
11/05/2025, 9:18 PMAI Evy
11/05/2025, 9:18 PMAI Evy
11/05/2025, 9:18 PMAI Evy
11/05/2025, 9:18 PMAI Evy
11/05/2025, 9:18 PMwss:// prefix for secure WebSocket connections
- For HTTP endpoints, use ws:// prefix for standard WebSocket connections
Step 3: Check for Trailing Slash
Some server setups don't allow a trailing slash in the URL.
- Correct format: `
- Incorrect format: `
Step 4: Check for Retell Server Response
Add logging in your websocket code to see if the websocket is connected, and add logging in your websocket message code to check if you receive messages from the Retell server.
Additional Checks:
- If your call disconnects automatically after a couple seconds, add logging to check if you're sending "end_call=true" at any point, and verify your server setup supports WebSocket (for example, Vercel edge functions and serverless functions cannot act as a websocket server) .
- If your call disconnects after 5min/10min, check if your server vendor has automatic timeouts (for example, Replit non-reserved instances timeout at 5min) .