AntiPattern

Handshake Header Breakage

websocket-upgrade-header-breakage

WebSocket connections fail in production because TLS termination or reverse proxies strip or mis-handle hop-by-hop upgrade headers (Upgrade/Connection), so the server rejects the TLS/WebSocket handshake before an application-layer handshake can complete.