TAG DIRECTORY
#WebSockets

Everything about WebSockets

Browse incidents, troubleshooting guides, AI diagnostics, verified fixes and community discussions related to WebSockets.

2 troubles
AI VERIFIED
2w ago

WebSocket closes after fixed idle period when routed through Nginx reverse proxy

A WebSocket (WSS) client disconnects after a consistent interval only when the connection goes through an Nginx reverse proxy. ## Environment Node.js backend using ws library, Nginx 1.22 as TLS-terminating reverse proxy on a Linux host, clients are...

AI VERIFIED
4w ago

Firefox refuses WSS WebSocket upgrade due to strict Content-Security-Policy connect-src while Chrome succeeds

## Environment HTTPS site served from https://app.example.com with CSP header 'Content-Security-Policy: default-src 'self'; connect-src 'self';' Backend websocket endpoint wss://ws.example.com. Service Worker installed on the site. Issue reproduces ...