Closed 1IfByLAN2IfByC closed 2 years ago
Hi @1IfByLAN2IfByC
Thanks for using the library.
It seems that you adapt the code from Async WebSocket Plugin
I suggest that you first use ESP32 and follow ESP32 HTTP webserver: receiving textual data in websocket to test your code first to be sure your code / server are OK, before moving ahead to Portenta_H7
Then post the issue here whenever there is a proven bug of this library.
It's totally your problem, and nobody can help you out with such minimal posted info. Please include at least Minimal, Reproducible Example if posted somewhere else for help.
I'm closing the issue now and only reopen after a bug has been proven.
Good Luck,
I am unable to send a message to the client that is more than 4X characters long. I am able to reliably receive/decode on my my client (python+websockets), however, if the message from
Portenta_H7_AsyncWebServer
is longer than 4 characters, I get aProtocolError: reserved bits must be 0
error which triggers a disconnect.to reproduce:
There is no problem on the server receiving arbitrarly long messages, so it doesn't seem like a buffer issue?
Currently using:
Arduino_MachineControl v.1.1.0 Portenta_H7_AsyncTCP v 1.3.2 Portenta_H7_AsyncWebServer v. 1.2.1
The Portenta is using Arduino Mbed OS Portenta Boards v 3.0.0