ESP32-S3 specific WS message lengths cause WS frame is not properly masked
error (IDFGH-14461)
#15235
Open
3 tasks done
Labels
Answers checklist.
IDF version.
ESP-IDF v5.4
Espressif SoC revision.
ESP32-S3 (QFN56) (revision v0.1)
Operating System used.
Linux
How did you build your project?
Command line with CMake
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S3 WROOM2 custom board
Power Supply used.
External 3.3V
What is the expected behavior?
Transmitting WebSocket messages of any length should not be an issue.
What is the actual behavior?
I think there still is an issue when transmitting WebSocket messages of a particular length. I have an application which used to transmit 268B messages in bursts of 256 messages at a time. This worked flawlessly so far. Due to changed requirements the message size decreased from 268 to 263B and suddenly ESP-IDF is throwing
WS frame is not properly masked
errors at me.Doing some research I think that this might be related to #14473, #14704 or #14706?
Apparently a particular message size transmitted at a specific pattern (263B x 256 in this case) is problematic.
Steps to reproduce.
main.cpp
ws_send.py
script (requires websocket-client)Debug Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: