This repository was archived by the owner on Feb 4, 2023. It is now read-only.
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
AsyncWebSocketServer_RP2040W crashes with "[AWS] ERROR: Too many messages queued" #6
Closed
Description
Dear Khoih,
Thank you for release 1.3.0. However, the AsyncWebSocket server crashes after a while.
In my current project, a value is transferred to the browser every 20 ms and displayed there in a canvas.
After a while the canvas freezes.
After disconnecting and reconnecting the serial monitor, it says "[AWS] ERROR: Too many messages queued".
I implemented a counter on the website to see after how many transmissions the crash occurs. The number of transfers seems to be random after the crash happens.
-
Load PicoAsyncSocB onto the Pi pico W
-
Connect to the socket server with a browser
-
Wait a moment
As you might have guessed, I've also tried all of this with "ESPAsyncWebServer" on an EspNode board, and nothing crashes there.
Best regards
drmue
Arduino IDE version: 1.8.19
RP2040 core v2.6.0
RASPBERRY_PI_PICO_W Module
OS: Ubuntu 20.04 LTS
Linux xy-Inspiron-3593 5.15.0-48-generic #54~20.04.1-Ubuntu SMP Thu Sep 1 16:17:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux