# WebSocket + Stream Connection Keeps Disconnecting on LangGraph Platform

**URL:** <https://forum.langchain.com/t/websocket-stream-connection-keeps-disconnecting-on-langgraph-platform/805>\
**Category:** Deployment\
**Tags:** cloud\
**Created:** [July 29, 2025, 1:17pm UTC](https://forum.langchain.com/t/websocket-stream-connection-keeps-disconnecting-on-langgraph-platform/805 "2025-07-29T13:17:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibbybuilds](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/ibbybuilds/32/258_2.png) [@ibbybuilds](https://forum.langchain.com/u/ibbybuilds)\
**Post date:** [July 29, 2025, 1:17pm UTC](https://forum.langchain.com/t/websocket-stream-connection-keeps-disconnecting-on-langgraph-platform/805/1 "2025-07-29T13:17:28Z")

</div>

## Issue Summary

Experiencing persistent connection stability issues on LangGraph Platform production deployment for 6+ days.

## Technical Details

### Stream Connections (`/runs/{id}/stream`)

- `net::ERR_CONNECTION_CLOSED` during active streaming
- Retry pattern: ECONNREFUSED → nginx 404 → success
- Multiple drops per session

### WebSocket Connections

- `ECONNREFUSED` and `ECONNRESET` errors during active connections
- Tool calls timeout, require page refresh to recover

## Key Observations

- **Works perfectly:** Local development (`langgraph dev`) and self-hosted
- **Fails consistently:** LangGraph Platform only
- WebSocket disconnects every 5-10 minutes on platform
- nginx 404s suggest ingress-level issues
- Both connection types affected simultaneously

## Troubleshooting Attempted

- Client-side pinging every 30s with `ws.ping()` - still disconnecting
- Confirmed no deployments during disconnection times
- No custom timeout configurations

## Additional Issue

After package upgrades: `disable_streaming=True` setting ignored on platform but respected locally, causing duplicate message chunks.

## Questions

1. Known production infrastructure stability issues?
2. Expected connection stability SLAs?
3. Recommended WebSocket timeout configurations?

Has anyone experienced similar platform-specific connectivity issues? Any workarounds or configuration recommendations?

---

<div class="post-metadata">

**Author:** ![scrowder](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/scrowder/32/305_2.png) [@scrowder](https://forum.langchain.com/u/scrowder)\
**Post date:** [July 29, 2025, 4:56pm UTC](https://forum.langchain.com/t/websocket-stream-connection-keeps-disconnecting-on-langgraph-platform/805/2 "2025-07-29T16:56:19Z")

</div>

Hey, thank you for flagging these. We’ve seen a dramatic increase load over the last couple weeks, and as a result a few more intermittent errors such as this one. We’re actively working on this and will follow up later with any update(s).
