I can see in the server logs, that the WS-connection is established and then closes within some milisecs:
12:24:06.009 [vert.x-eventloop-thread-0] INFO com.my.GatewayWSVerticle - registered WS for [11.111.111.111]
12:24:06.220 [vert.x-eventloop-thread-0] INFO com.my.GatewayWSVerticle - unregistered WS for [11.111.111.111]
If I enter ws.initializeConnection(); in the left-hand side of IDE, I'm getting the lines:
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Using the following code in Espruino Web IDE:
I can see in the server logs, that the WS-connection is established and then closes within some milisecs:
If I enter ws.initializeConnection(); in the left-hand side of IDE, I'm getting the lines:
If I connect to the very same server from my browser or from a z-way server @ raspi, then it works like charm.
Am I missing something or is it a WS-bug?
TIA