Cloudflare Websocket Timeout?


Hello! I’m currently testing out passing websocket connections through Cloudflare. They’re working great but I have a problem where they persistently die after exactly 1 minute and 40 seconds, always.

I have my own nginx server set to timeout after 5 minutes, so it’s not a problem on my end. Either this is a Chrome limitation or something on Cloudflare’s end, at least - I think so. Does anyone know the exact timeout limit for websockets passed through Cloudflare, does upgrading to Pro remove this timeout?



100 seconds is the standard timeout setting. Only ENT users have the option to adjust duration.


Thanks, we resolved the issue by adding a keepalive healthcheck to our application so the connection is kept active. :slight_smile:


The problem of how you solve, is facing the same problem.

thank you.