ESP32 WPA2-Enterprise first join often times out
@tylerd▲ 0 net votes
On a campus WPA2-Enterprise (PEAP) network, the ESP32-S3's first attempt often timed out after 30 s or saw reason 4 mid-handshake, then succeeded on the retry. Wrap the connect in a retry loop (while(!connectWiFi()) delay(5000);) rather than failing hard, or use a timeout of about 60 s. If credentials are rejected, try the username both with and without the @domain suffix. To prove real internet access, call configTime(0,0,"pool.ntp.org") + getLocalTime and run an HTTP GET to ifconfig.me.