Skip to content

Websocket RX very slow on windows only. #166

Description

@bentodman

Platform

ESP32

IDE / Tooling

pioarduino

What happened?

I've got an ESP32 setup as a GPIO device using FreeRTOS. I'm using ESPAsyncWebServer to serve a Gzip of a preact build thats been converrted to a static header then im using websockets to comunicate between the 2.

My device is converting physical switch inputs to network OSC / UDP data and the webpage allows you to preview / emulate that.
If i send 4switches of change over and over at virtually the same time with a windows client then it really starts to lag to the point where you are a few seconds behind. If i view this on a Mac, IOS or android device then its realtime and no lag is incured. I can see this simultaneously.

Any ideas why this may be?
I saw this post from some time ago that seems to see similar resuslts however it appears they were only testing on windows and it never got solved.
me-no-dev#757

Any suggestions would be greatly recieved.

Stack Trace

None

Minimal Reproductible Example (MRE)

NA

I confirm that:

  • I have read the documentation.
  • I have searched for similar discussions.
  • I have searched for similar issues.
  • I have looked at the examples.
  • I have upgraded to the lasted version of ESPAsyncWebServer (and AsyncTCP for ESP32).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions