'WebSocket connection to 'wss://mydomain.com/ws' failed
I just began making a new domain for a client using ReactJS. I built the app using create-react-app, and I configured the React start script to run over port 443 so I could develop over HTTPS. The React app is running fine, but when I view the console in Chrome developer tools, I get a periodic error message "WebSocket connection to 'wss://mydomain.com/ws' failed:
I did not set up anything in the node http-server or in the react code to "handle" anything going to /ws. Is WebSockets something I have to configure manually and that's why I keep getting a connection error? I just find it strange that create-react-app would enable a feature by default without it being at least fully-configured to the point of not generating errors.
Any help would be appreciated!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
