WebSocket is closed before the connection is established

websockets

#1

Hello, I have a site based on nginx server and a script driver.js for socket.io that allows connection to the site on port www.DomainName.com:2096
At the same time, I use the SSL 443 base port. The site works smoothly, but when there are more online users, the connection to the driver.js script is lost and it only returns after restarting the commander’s command.js with command "forever stop driver.js " then " forever start driver.js “. The error that appears is:” WebSocket is closed before the connection is established ".
I want to know if it is related to the fact that I have a freeware cloudflare version and that’s why I block my connection with driver.js bot?
Thank you in advance!