esp32 Websocket server error when connecting from chrome browser client #7119
Unanswered
espruino-discuss3
asked this question in
ESP32
Replies: 1 comment
-
Posted at 2018-11-24 by mike_k 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! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-11-24 by mike_k
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!
Beta Was this translation helpful? Give feedback.
All reactions