-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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 Stop to Work (IDFGH-2954) #4987
Comments
@filzek Thanks for reporting, would you please help provide more details in the issue template, such as commit ID and etc? This would help us in further debugging. Thanks. |
Sure, The Wifi code:
and the TCP:
I am not using esp_netif_init(); yet. |
Hi @filzek, are you using the correct password? |
@liuzfesp Yes, using all correct, it works for some time, and after few hours it stop to work as show above. |
Extreme problematic situation simple WiFi stop to work in the latest idf and 2.3 install kit, its a complete broken to a WiFi chain, it works for a while and later start to act like this. I (45627332) wifi:state: assoc -> run (10) |
Hi @filzek , according to the log, the WiFi can't reconnect successfully because 4-way-handshake is failed and the Router sends a disassociation frame to ESP32. You can take following steps to get more debug info:
Then reproduce the issue and paste the whole log here, I will analyze the log. |
Hi @filzek, do you have any update about this issue? |
Hi Liuz, After update to the latest sdk as of today the error stop to show and has successful connect, also we have removed all other logs info and seems stable and the error stop to show. I have ask the other fw engineer to revert their machine to the same git version to reproduce the error again. |
I have exactly the same issue with commit d85d3d9 (updated my local ESP-IDF folder on 2020-04-21).
My log looks as follows:
and so on. |
Hi @zinke-ct-video The recommended Macbook's built-in packet capture tool does not require a packet capture card. It can be used to capture 802.11a/b/g/n/ac packets: |
For your log:
The multiple
For multiple I (17513) wifi:new:<5,1>, old:<5,1>, ap:<5,1>, sta:<255,255>, prof:5 For no |
Using Module ESP32 Wrover-B:
I (686) psram: This chip is ESP32-D0WD
I (687) spiram: Found 64MBit SPI RAM device
I (687) spiram: SPI RAM mode: flash 40m sram 40m
I (689) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (727) cpu_start: ESP-IDF: v4.2-dev-792-g6330b3345-dirty
I (1830) wifi:wifi driver task: 3ffd4c48, prio:23, stack:3584, core=0
I (1840) wifi:wifi firmware version: b88ceb8
I (1840) wifi:wifi certification version: v7.0
I (1840) wifi:config NVS flash: enabled
I (1840) wifi:config nano formating: disabled
I (1850) wifi:Init dynamic tx buffer num: 32
I (1850) wifi:Init data frame dynamic rx buffer num: 32
I (1860) wifi:Init management frame dynamic rx buffer num: 32
I (1860) wifi:Init management short buffer num: 32
I (1870) wifi:Init static tx buffer num: 16
I (1870) wifi:Init static rx buffer size: 1600
I (1870) wifi:Init static rx buffer num: 10
I (1880) wifi:Init dynamic rx buffer num: 32
I (7170) wifi:mode : sta + softAP
After 12 hours of running the Wifi seens to stop to work and report:
I (31476240) wifi:new:<8,0>, old:<8,2>, ap:<8,2>, sta:<8,2>, prof:8
I (31476240) wifi:new:<8,0>, old:<8,0>, ap:<8,2>, sta:<8,2>, prof:8
I (31476240) wifi:new:<8,2>, old:<8,0>, ap:<8,2>, sta:<8,2>, prof:8
I (31476250) wifi:state: init -> auth (b0)
I (31476260) wifi:state: auth -> assoc (0)
I (31476270) wifi:state: assoc -> run (10)
I (31480320) wifi:state: run -> init (2a0)
I (31480320) wifi:new:<8,0>, old:<8,2>, ap:<8,2>, sta:<8,2>, prof:8
I (31480320) wifi:new:<8,0>, old:<8,0>, ap:<8,2>, sta:<8,2>, prof:8
I (31480320) wifi:new:<8,2>, old:<8,0>, ap:<8,2>, sta:<8,2>, prof:8
I (31480330) wifi:state: init -> auth (b0)
I (31480340) wifi:state: auth -> assoc (0)
I (31480350) wifi:state: assoc -> run (10)
I (31484390) wifi:state: run -> init (2a0)
I (31484400) wifi:new:<8,0>, old:<8,2>, ap:<8,2>, sta:<8,2>, prof:8
I (31484400) wifi:new:<8,0>, old:<8,0>, ap:<8,2>, sta:<8,2>, prof:8
I (31487810) wifi:new:<8,2>, old:<8,0>, ap:<8,2>, sta:<8,2>, prof:8
I (31487810) wifi:state: init -> auth (b0)
I (31487820) wifi:state: auth -> assoc (0)
I (31487830) wifi:state: assoc -> run (10)
I (31491870) wifi:state: run -> init (2a0)
The text was updated successfully, but these errors were encountered: