Skip to content
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
@drmue

Description

@drmue

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.

  1. Load PicoAsyncSocB onto the Pi pico W

  2. Connect to the socket server with a browser

  3. 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

PicoWAsyncSockB.zip

toomanymessages

crash1090

crash3108

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


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions