WebSocket connection drops with Cloudflare proxy
Real-time sync stops working when Vaultwarden is behind Cloudflare proxy due to WebSocket timeout defaults.
Resolutions (1)
high confidence 31 verified
Enable WebSockets in Cloudflare dashboard and set the environment variable:
WEBSOCKET_ENABLED=true
In Cloudflare: Network tab > WebSockets > On. Also set proxy_read_timeout 3600s in your reverse proxy config.
Applies to: 1.32 on docker