Yesterday we decided to turn on ngix technology to speed up work, and after switching it on, everything went to a known place. The site disconnected the sockets and regularly issued errors in the console, which will attach below. Turned off ngix and the error did not disappear, Who knows what the error is? If you need any files, then I will attach screenshots. 
|
nginxsettings, that the client cannot reach the server's socket at the address / port - ThisManwss(secure protocol). Already faced with a similar,wsworks, butwssdoes not, bought a certificate, implemented a subscription in the code and it all worked. Read more in the documentation on sockets. - And