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. enter image description here

  • Most likely the problem is in the nginx settings, that the client cannot reach the server's socket at the address / port - ThisMan
  • And how to properly configure this very ngix? - Lebedev Artem
  • Most likely because of a non-signed or free certificate, because you are using wss (secure protocol). Already faced with a similar, ws works, but wss does not, bought a certificate, implemented a subscription in the code and it all worked. Read more in the documentation on sockets. - And
  • And where to buy this very certificate? And how to turn it on? - Artem Lebedev
  • one

0