Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi won't connect - WIFI_REASON_AUTH_EXPIRE (IDFGH-14517) #15283

Open
3 tasks done
Moddingear opened this issue Jan 25, 2025 · 0 comments
Open
3 tasks done

Wifi won't connect - WIFI_REASON_AUTH_EXPIRE (IDFGH-14517) #15283

Moddingear opened this issue Jan 25, 2025 · 0 comments
Assignees
Labels
Status: Opened Issue is new

Comments

@Moddingear
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

I am using an esp32s3 (https://www.waveshare.com/esp32-s3-zero.htm) with espidf in platformio (no arduino), and anytime I want to connect to WiFi, I can't get connected and have WIFI_REASON_AUTH_EXPIRE. I tried the examples from https://github.com/espressif/esp-idf/tree/master/examples/wifi, notably getting_started/station, fast_scan and WPS. None work, with my home wifi and with my phone as a hotspot.

(code 205 corresponds to WIFI_REASON_CONNECTION_FAIL)

Below is the log of the attempts of connection from a fast scan.

I (393) wifi:wifi driver task: 3fcb40d0, prio:23, stack:6656, core=0
I (403) wifi:wifi firmware version: 0caa81945
I (403) wifi:wifi certification version: v7.0
I (403) wifi:config NVS flash: enabled
I (403) wifi:config nano formating: disabled
I (403) wifi:Init data frame dynamic rx buffer num: 32
I (413) wifi:Init static rx mgmt buffer num: 5
I (413) wifi:Init management short buffer num: 32
I (413) wifi:Init dynamic tx buffer num: 32
I (423) wifi:Init static tx FG buffer num: 2
I (423) wifi:Init static rx buffer size: 1600
I (433) wifi:Init static rx buffer num: 10
I (433) wifi:Init dynamic rx buffer num: 32
I (443) wifi_init: rx ba win: 6
I (443) wifi_init: accept mbox: 6
I (443) wifi_init: tcpip mbox: 32
I (443) wifi_init: udp mbox: 6
I (453) wifi_init: tcp mbox: 6
I (453) wifi_init: tcp tx win: 5760
I (453) wifi_init: tcp rx win: 5760
I (463) wifi_init: tcp mss: 1440
I (463) wifi_init: WiFi IRAM OP enabled
I (463) wifi_init: WiFi RX IRAM OP enabled
I (503) phy_init: phy_version 680,a6008b2,Jun  4 2024,16:41:10
I (533) wifi:mode : sta (34:b7:da:53:1c:a8)
I (533) wifi:enable tsf
I (533) wifi: WIFI_EVENT_STA_START
I (543) wifi: wifi_init_sta finished.
I (2023) wifi:new:<9,0>, old:<1,0>, ap:<255,255>, sta:<9,0>, prof:1, snd_ch_cfg:0x0
I (2023) wifi:state: init -> auth (0xb0)
I (3023) wifi:state: auth -> init (0x200)
I (3023) wifi:new:<9,0>, old:<9,0>, ap:<255,255>, sta:<9,0>, prof:1, snd_ch_cfg:0x0
I (3033) wifi: WIFI_EVENT_STA_DISCONNECTED
I (3033) wifi: connect to the AP fail, reason 2, rssi -50
I (5443) wifi: WIFI_EVENT_STA_DISCONNECTED
I (5443) wifi: connect to the AP fail, reason 205, rssi -128
I (5533) wifi:new:<9,0>, old:<9,0>, ap:<255,255>, sta:<9,0>, prof:1, snd_ch_cfg:0x0
I (5533) wifi:state: init -> auth (0xb0)
I (6533) wifi:state: auth -> init (0x200)
I (6533) wifi:new:<9,0>, old:<9,0>, ap:<255,255>, sta:<9,0>, prof:1, snd_ch_cfg:0x0
I (6533) wifi: WIFI_EVENT_STA_DISCONNECTED
I (6533) wifi: connect to the AP fail, reason 2, rssi -48
I (8943) wifi: WIFI_EVENT_STA_DISCONNECTED
I (8943) wifi: connect to the AP fail, reason 205, rssi -128
I (9013) wifi:new:<9,0>, old:<9,0>, ap:<255,255>, sta:<9,0>, prof:1, snd_ch_cfg:0x0
I (9013) wifi:state: init -> auth (0xb0)
I (10013) wifi:state: auth -> init (0x200)
I (10013) wifi:new:<9,0>, old:<9,0>, ap:<255,255>, sta:<9,0>, prof:1, snd_ch_cfg:0x0
I (10013) wifi: WIFI_EVENT_STA_DISCONNECTED
I (10023) wifi: connect to the AP fail, reason 2, rssi -50
I (12423) wifi: WIFI_EVENT_STA_DISCONNECTED
I (12423) wifi: connect to the AP fail, reason 205, rssi -128
I (12493) wifi:new:<9,0>, old:<9,0>, ap:<255,255>, sta:<9,0>, prof:1, snd_ch_cfg:0x0
I (12493) wifi:state: init -> auth (0xb0)
I (13493) wifi:state: auth -> init (0x200)
I (13493) wifi:new:<9,0>, old:<9,0>, ap:<255,255>, sta:<9,0>, prof:1, snd_ch_cfg:0x0
I (13493) wifi: WIFI_EVENT_STA_DISCONNECTED
I (13503) wifi: connect to the AP fail, reason 2, rssi -50
I (15903) wifi: WIFI_EVENT_STA_DISCONNECTED
I (15903) wifi: connect to the AP fail, reason 205, rssi -128
I (15973) wifi:new:<9,0>, old:<9,0>, ap:<255,255>, sta:<9,0>, prof:1, snd_ch_cfg:0x0
I (15973) wifi:state: init -> auth (0xb0)
I (16973) wifi:state: auth -> init (0x200)
I (16973) wifi:new:<9,0>, old:<9,0>, ap:<255,255>, sta:<9,0>, prof:1, snd_ch_cfg:0x0
I (16973) wifi: WIFI_EVENT_STA_DISCONNECTED
I (16983) wifi: connect to the AP fail, reason 2, rssi -48
I (19393) wifi: WIFI_EVENT_STA_DISCONNECTED
I (19393) wifi: connect to the AP fail, reason 205, rssi -128
I (19453) wifi:new:<9,0>, old:<9,0>, ap:<255,255>, sta:<9,0>, prof:1, snd_ch_cfg:0x0
I (19453) wifi:state: init -> auth (0xb0)
I (20453) wifi:state: auth -> init (0x200)
I (20463) wifi:new:<9,0>, old:<9,0>, ap:<255,255>, sta:<9,0>, prof:1, snd_ch_cfg:0x0
I (20463) wifi: WIFI_EVENT_STA_DISCONNECTED
I (20463) wifi: Failed to connect!
I (20463) wifi: connect to the AP fail, reason 2, rssi -48
I (20473) wifi: Failed to connect```
@espressif-bot espressif-bot added the Status: Opened Issue is new label Jan 25, 2025
@github-actions github-actions bot changed the title Wifi won't connect - WIFI_REASON_AUTH_EXPIRE Wifi won't connect - WIFI_REASON_AUTH_EXPIRE (IDFGH-14517) Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

3 participants