Hello.
I have a problem with socket.io in my app https://weather-radio365.netlify.app/client/
. My app make socket connection to server when a client connects immediatly. The error occurs with the same description as title of the topic. But when I run my app locally, everything is fine.
On the client side I create a socket object by io.connect()
. I tried also io().connect()
and io( "https://weather-radio365.netlify.app/client/", {"rejectUnauthorized" : false}).connect()
, but the result the same.
It is my first time when I deploy the project. So I don’t know what details I have to provide or how configure socket connection. Thanks.