I'm using the exact example here on port 3030 to create a websocket server on an esp32 and when I attempt to connect to the server via a Chrome browser client I receive the error below:
The js code used in Chrome is extremely simple:
new WebSocket('ws://192.168.4.1:3030')
The weird part is the callback for when a websocket connection opens is called on the espruino websocket server:
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.
I'm using the exact example here on port 3030 to create a websocket server on an esp32 and when I attempt to connect to the server via a Chrome browser client I receive the error below:
The js code used in Chrome is extremely simple:
The weird part is the callback for when a websocket connection opens is called on the espruino websocket server:
but right after, Chrome throws the error shown in the image above, and I'm not able to send or receive messages.
The current espruino version info is:
Thank you in advance!