Websocket disconnects frequently for some users

I host a game that runs about 500 concurrent websocket connections (one for each player). Some users are reporting as many as 8 to 30 times a day, the websocket will just randomly drop and reconnect. Personally I have only had a few of these in the last 19 hours and it doesn’t bother me. I expect some amount of drops due to Cloudflare servers restarting. For some users the frequency is very disruptive even if it does reconnect quickly. What can I do to diagnose what’s going on for those users? Since this site is on the free plan, there isn’t a way to contact Cloudflare support with a specific CF-ray to look on their end. I’m not very well-versed in websocket diagnostics tools. Game was written in javascript years ago, running on node 16 due to issues with some of the dependencies on newer versions of node. Using the latest version of uWebSockets.js library that works on this version of node, uWebSockets.js v20.10.0. However, I’d think if the issue was the library, it’d be happening to everyone, not just a few people.

Hi @fury

You will need to have the domain on a pro plan, if you need to have this amount of concurrent connections.

Good to know. I have updated the plan and it is still happening. I opened a ticket.

Hi @fury

Could you please provide the ticket number here?

3193272

@fury
Hi! How did you solve this issue?

We are having similar issue. Any updates on this?

We would truly appreciate it if you could provide more clarity regarding any potential limits we may be encountering when using WebSocket connections.