-
Notifications
You must be signed in to change notification settings - Fork 22
Generic_WebSocketServer_LEDcontrol_W5500 run error #4
Comments
Hi @lixy123 Currently, the WebSocketServer features of this library is not working due to similar issues in
The timeline when to fix is not determined yet. I'll post a warning in README about the WebSocketServer issues. |
Hi @lixy123 Please try the new WebSockets2_Generic Library I believe there is no WebSocket Server issue as this WebSockets_Generic Library. This is terminal debug output when running SAMDUE-Ethernet-Server on SAM DUE board with Ethernet W5100 shield using EthernetLarge library, and receiving WebSockets connection from an ESP8266 board.
Why do we need this WebSockets2_Generic libraryMany Web services require WebSockets library, which is so far written only for ESP8266/ESP32 boards. The ESP boards so far rely on the Markus Sattler's WebSockets Library to connect to Alexa via Sinric or SinricPro skills. This WebSockets2_Generic library is based on and modified from Gil Maimon's ArduinoWebSockets Library to provide support to many more boards, such as Arduino SAMD21, Adafruit SAMD21/SAMD51, nRF52, STM32, Teensy, SAM DUE, etc. and enable those boards to use WebSockets services, including voice-control Alexa along with Blynk. Those supported boards can also run WebSockets Server. The WebSockets can be used with ESP’s WiFi, WiFiNINA, W5x00/ENC28J60/LAN8742A Ethernet, ESP8266/ESP32-AT modules/shields. New in v1.0.1
New in v1.0.0
|
The new WebSockets2_Generic v1.0.6 has been released with these new features to fix the blocking action of WebSockets Server that prevents the concurrent running of WebServer and WebSockets Server you experienced so far. New in WebSockets2_Generic v1.0.6
Please try the example SAMDUE-Ethernet_AdvancedWebServer or similar to have feelings. Then modify it to fix your purpose. |
/examples/Generic/W5500/Generic_WebSocketServer_LEDcontrol_W5500
run error:
WebSocketBadStatusException: Handshake status 400 Bad Request
websocket._exceptions.WebSocketBadStatusException: Handshake status 400 Bad Request
Hardware : teensy3.6,ws5500,
arduino version: 1.8.12
browser: google chrome 83.0.4103.106 64.
The text was updated successfully, but these errors were encountered: