# Websocket problem in Node-red using groov EPIC

**URL:** https://discourse.nodered.org/t/websocket-problem-in-node-red-using-groov-epic/27232
**Category:** General
**Created:** [25 May 2020 05:29 UTC](https://discourse.nodered.org/t/websocket-problem-in-node-red-using-groov-epic/27232 "2020-05-25T05:29:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![2heiman](https://avatars.discourse-cdn.com/v4/letter/2/5e9695/32.png) [@2heiman](https://discourse.nodered.org/u/2heiman)
#### Post date: [25 May 2020 05:29 UTC](https://discourse.nodered.org/t/websocket-problem-in-node-red-using-groov-epic/27232/1 "2020-05-25T05:29:20Z")

</div>

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,

1. Using “web socket OUT node” to connect with EPIC
2. Choosing “Connect to” and Input “wss://192.168.0.100/ws/example” which the path is “/ws/example”

On EPIC side,

1. Using “web socket IN node” to listen A
2. 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 :\>

---

<div class="post-metadata">

### Author: ![burtonboucher](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/burtonboucher/32/7806_2.png) [@burtonboucher](https://discourse.nodered.org/u/burtonboucher)
#### Post date: [27 May 2020 23:48 UTC](https://discourse.nodered.org/t/websocket-problem-in-node-red-using-groov-epic/27232/2 "2020-05-27T23:48:18Z")

</div>

1. Test web socket connection to and from same flow to test node-red.(Node-red flow is Both the producer and subscriber)
2. If that works verify IP can connect. Is node-red reachable via internet ip?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [26 July 2020 23:58 UTC](https://discourse.nodered.org/t/websocket-problem-in-node-red-using-groov-epic/27232/3 "2020-07-26T23:58:17Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
