We would like to use web socket to transfer data between one cloud server (A) and groov EPIC (EPIC).
For example, A would like to send a message to EPIC which its ip is “192.1680.100” by using web socket.
On A side,
- Using “web socket OUT node” to connect with EPIC
- Choosing “Connect to” and Input “wss://192.168.0.100/ws/example” which the path is “/ws/example”
On EPIC side,
- Using “web socket IN node” to listen A
- Choosing “Listen” and Input “/ws/example”
However, it showed “disconnted” when we tested.
I have checked the firewall setting of EPIC and port 80 & 443 have already been opened at the very beginning.
By using “wss://”, I always received error messages like "An error occurred while sending: Error: WebSocket is not open: readyState 3 (CLOSED)" and “ws:undefined : Error: not opened", even I have insert the cert from EPIC.
What can I do to make it work? T^T
Thank you for help :>