You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running for days.
The following will happen occasionally
Receive side got UDP package with wrong size.
Got UDP size of 40.
One second later, got UDP size of 60.
One second later, got UDP size of 80.
One second later, got UDP size of 100.
One second later, got UDP size of 120.
................
But on ESP32, when there is some trouble on DNS lookup, and the result of "beginPacket" is not checked.
I think it will lead UDP stack with dirt data and cause the DNS lookup always failed.
The following code will fix this problem, but maybe some update is need is better for users. Because I spend month to catch the reason.
Board
ESP32_S2
Device Description
An ESP32_S2 Mini board
Hardware Configuration
N/A
Version
v2.0.14
IDE Name
platformio
Operating System
Win 7
Flash frequency
40Mhz
PSRAM enabled
yes
Upload speed
115200
Description
While running for days.
The following will happen occasionally
Receive side got UDP package with wrong size.
Got UDP size of 40.
One second later, got UDP size of 60.
One second later, got UDP size of 80.
One second later, got UDP size of 100.
One second later, got UDP size of 120.
................
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: