ESP32-C3 fails to connect to WiFi: "Reason 2 auth_expired"

Continuing the discussion from Esp32 c3 super mini - comments:

hi mate, I have a esp32-c3 super mini board, and I had some fun with it, except when it comes to WIFI, so I come for your help.
I can have it scan for AP, it works great, but when I try to connect to my home WIFI, it keeps reporting Reason 2 auth_expired, google for quite a long time, haven't got any clue, please help!
esp32-c3 super mini, no other accessories, no external antenna, but I do noticed the

a (red) smd resistor

far from usb-c connector, with a "C3" label on it.
scanning code works like charm, [Hutscape | Tutorials - Scan WiFi with Arduino on ESP32-C3](scanning code)
connecting to WIFI failed, [Hutscape | Tutorials - Connect to a WiFi network with Arduino on ESP32-C3](connecting code)

also, I found this [https://dl.artronshop.co.th/ESP32-C3%20SuperMini%20datasheet.pdf](ESP32-C3 SuperMini datasheet), on page 3, antenna should be connected at the red arrow, have you had any external antenna for the board to work?

my home WIFI is 2.4G, WPA2-PSK, I have triple checked SSID and password, no success.

Please don't hijack threads @wljackhero0427. I have split your post out to its own topic.

Hijacking is against the Arduino forum rules. The reason is that it may sidetrack the discussion, even preventing the creator of the topic from getting the assistance they need. It also reduces your own chances of getting assistance.

This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

sorry for breaking the rules, my bad.
I was trying to get help, my post has been moved to a new topic, will the user "Wawa" see my post or get notified of my reply to his previous post?
really need help.
Finally, really sorry for breaking rules

1 Like

Forger about the red aerial. It's not the source of your problem.

I never have seen auth_expired myself, but it's all over Google.
Some say issues with the router (you can check at the house of a friend).
Others say that it was fixed by updating the board files for the ESP32.
Tools>Board>Boards Manager>Installed>ESP32. Version 2.0.17 is current.
Leo..

1 Like

ok, I'll try again and come back later

so far I have tried:
1 iphone11 hot spot
2 huawei nova 5 hot spot
ESP32. Version is already 2.0.17, the latest

no success, I'll keep looking and updating.

I have read that "Upload with erase all flash" could fix it.
You should do this as a last resort, because you loose the software USB input. I accidentally did this with a board, but it still was showing up in Win11 "Device Manager. I was able to get the port back from there (big chunk of luck).
Leo..

ok, I have just ordered another same model piece from another dealer, and try the code again. and come back again.
Upload with erase all flash, would be my last try.
Thanks for the reply.
Best wish.

re. ESP32C3.
Try adding: WiFi.setTxPower(WIFI_POWER_8_5dBm);
( see: ESP32-C3 can not connect to WiFi AP (AUTH_EXPIRE) · Issue #6767 · espressif/arduino-esp32 · GitHub )

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.