badgeteam / mch2022-firmware-esp32

ESP32 launcher firmware for the MCH2022 badge
https://docs.badge.team
MIT License
13 stars 9 forks source link

(Web)USB FSLS times out for large folders #146

Closed Pwuts closed 1 year ago

Pwuts commented 1 year ago

The USB FSLS command seems to either fail or respond very slowly when listing large folders. The more items in a folder, the higher the chance of a time-out.

Experienced/tested with https://mch2022-badge-webusb.vercel.app. Try /internal/apps/python/citycontrol on the MCH2022 badge for example.

renzenicolai commented 1 year ago

Interesting, try to dump all communication into the console, I bet the badge spits out some ascii text with a crashlog if it stops responding...

I will ask details via Tg.

Pwuts commented 1 year ago

Will do! This is a good use case for a "dump everything" switch in the settings :)

Pwuts commented 1 year ago

Looks like this is an issue with the user agent. Works fine with devtools closed, starts faltering with devtools open. Closing for now.