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:
FLASH: 0, RAM: 524288,
Thank you in advance!
Also, I've used the same code on both the an official espruino board and an esp8266 without Chrome throwing any error. (For reference). Thank you!
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem