Our application site (https://sonorancad.com) has a small number of users that experience frequent web socket disconnections/reconnections. There doesn’t appear to be any consistency in the timing.
I know that CF will terminate/close websockets that are idle for ~2 minutes? We ensure that a keepalive is sent if there’s no active traffic.
Only a few clients experience this issue, but we can confirm it’s only with Cloudflare’s proxy. When we direct them to https://nocf.sonorancad.com (same site - no CF proxying) they don’t have any connection issues.
Is there anything on the CF configuration end that might cause some websockets to be randomly terminated? The user gets a standard 1006 error code.