esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
290 stars 34 forks source link

Crash when try to connect to 'Wifi repeater' #1961

Open ghost opened 3 years ago

ghost commented 3 years ago

Operating environment/Installation (Hass.io/Docker/pip/etc.): pip ESP (ESP32/ESP8266, Board/Sonoff): Sonoff S20, Nodemcuv2 (esp8266)

ESPHome version (latest production, beta, dev branch) esphome 1.16.2 esptool 2.8

Affected component: https://esphome.io/components/wifi.html?highlight=wifi#wifi-networks

Description of problem:

  1. Connect to single ordinary (non-repeater mode) Wifi AP works fine.
  2. Connect to Wifi AP in 'repeater/extender' mode do not work (Equally for OpenWRT 18.06.9 and stock TP-Link WA-701NDv2)
  3. 'Connecting to Multiple Networks' do not work because crash and boot loop

I configure two APs - AP1 is a root AP and AP2 is an 'extender' AP. In yaml config I set 'networks:' With priority:5 to AP2 and priority:1 to AP1 Then I see a boot loop, while device cannot connect to none as AP2, AP1, and cannot support 'Fallback AP' (because it boot looping indefinitely). Loop looks like this:

  1. Start and try to connect to AP2 as in 'priority' (repeater AP) ends with [22:33:01][W][wifi_esp8266:194]: wifi_apply_hostname_(nmcu5): lwIP error -16 on interface st (index 0) [W][wifi_esp8266:444]: Event: Disconnected ssid='MikroTik-9E7991' bssid=90:F6:52:E1:41:05 reason='Association Leave' [W][wifi:485]: Error while connecting to network. [W][wifi:522]: Restarting WiFi adapter... [D][wifi:324]: Starting scan...
  2. Do it 'priority number' times and try to connect to AP1 (non-repeater) as fallback ends with [wifi:457]: WiFi Connected! .. Exception (28): epc1=0x4021e680 epc2=0x00000000 epc3=0x00000000 excvaddr=0x018101ac depc=0x00000000
  3. Restart and [C][ota:366]: There have been 2 suspected unsuccessful boot attempts. [I][app:029]: Running through setup()... and go to 1

between 1 and 2 also I can see :

[W][wifi_esp8266:194]: wifi_apply_hostname_(nmcu5): lwIP error -16 on interface st (index 0)
[I][wifi:116]: Starting fallback AP!
[C][wifi:161]: Setting up AP...
[C][wifi:163]:   AP SSID: 'nmcu5 Fallback Hotspot'
[C][wifi:164]:   AP Password: 'rPr7z5Ugb6wk'
[C][wifi:173]:   IP Address: 192.168.4.1
[W][wifi:479]: Timeout while connecting to WiFi.

But it also crash and disconnect when 3 occur (But I have some seconds to connect to 4.1 and if I choose AP1, enter PSK and press 'save' device successfully connects to AP1 and stop boot loop)

Problem-relevant YAML-configuration entries:

esphome:
  name: sonoffs20
  platform: ESP8266
  board: esp8285
  arduino_version: 2.7.4
wifi:
  ap:
    ssid: Sonoffs20 Fallback Hotspot
    password: rPr7z5Ugb6wk
    ap_timeout: 1min
  reboot_timeout: 15min
  power_save_mode: NONE
  networks:
  - ssid: MikroTik-9E7991
    password: '27767085'
    priority: 1
  - ssid: OpenWrt-701
    password: '27767086'
    priority: 5
    manual_ip:
      static_ip: 192.168.1.178
      gateway: 192.168.1.11
      subnet: 255.255.255.0
      dns1: 192.168.1.11

Logs (if applicable):

[22:46:49][I][wifi:194]: WiFi Connecting to 'OpenWrt-701'...
[22:46:49][W][wifi_esp8266:194]: wifi_apply_hostname_(nmcu5): lwIP error -16 on interface st (index 0)
[22:46:49][W][wifi_esp8266:444]: Event: Disconnected ssid='OpenWrt-701' bssid=92:F6:52:E1:41:05 reason='Association Leave'
[22:46:49][W][wifi:485]: Error while connecting to network.
[22:46:54][D][wifi:324]: Starting scan...
[22:47:00][D][wifi:339]: Found networks:
[22:47:00][I][wifi:385]: - 'OpenWrt-701' (92:F6:52:E1:41:05) ▂▄▆█
[22:47:00][D][wifi:386]:     Channel: 4
[22:47:00][D][wifi:387]:     RSSI: -33 dB
[22:47:00][I][wifi:385]: - 'MikroTik-9E7991' (64:D1:54:9E:79:91) ▂▄▆█
[22:47:00][D][wifi:386]:     Channel: 4
[22:47:00][D][wifi:387]:     RSSI: -58 dB
[22:47:00][I][wifi:194]: WiFi Connecting to 'OpenWrt-701'...
[22:47:00][W][wifi_esp8266:194]: wifi_apply_hostname_(nmcu5): lwIP error -16 on interface st (index 0)
[22:47:00][W][wifi_esp8266:444]: Event: Disconnected ssid='OpenWrt-701' bssid=92:F6:52:E1:41:05 reason='Association Leave'
[22:47:00][W][wifi:485]: Error while connecting to network.
[22:47:00][I][wifi:194]: WiFi Connecting to 'OpenWrt-701'...
[22:47:00][W][wifi_esp8266:194]: wifi_apply_hostname_(nmcu5): lwIP error -16 on interface st (index 0)
[22:47:30][W][wifi:479]: Timeout while connecting to WiFi.
[22:47:35][D][wifi:324]: Starting scan...
[22:47:41][D][wifi:339]: Found networks:
[22:47:41][I][wifi:385]: - 'MikroTik-9E7991' (64:D1:54:9E:79:91) ▂▄▆█
[22:47:41][D][wifi:386]:     Channel: 4
[22:47:41][D][wifi:387]:     RSSI: -57 dB
[22:47:41][I][wifi:385]: - 'OpenWrt-701' (92:F6:52:E1:41:05) ▂▄▆█
[22:47:41][D][wifi:386]:     Channel: 4
[22:47:41][D][wifi:387]:     RSSI: -37 dB
[22:47:41][I][wifi:194]: WiFi Connecting to 'MikroTik-9E7991'...
[22:47:41][W][wifi_esp8266:194]: wifi_apply_hostname_(nmcu5): lwIP error -16 on interface st (index 0)
[22:47:41][W][wifi_esp8266:444]: Event: Disconnected ssid='OpenWrt-701' bssid=92:F6:52:E1:41:05 reason='Association Leave'
[22:47:41][W][wifi:485]: Error while connecting to network.
[22:47:41][I][wifi:194]: WiFi Connecting to 'MikroTik-9E7991'...
[22:47:41][W][wifi_esp8266:194]: wifi_apply_hostname_(nmcu5): lwIP error -16 on interface st (index 0)
[22:47:42][I][wifi:457]: WiFi Connected!
[22:47:42][C][wifi:303]:   SSID: 'MikroTik-9E7991'
[22:47:42][C][wifi:304]:   IP Address: 192.168.1.124
[22:47:42][C][wifi:306]:   BSSID: 64:D1:54:9E:79:91
[22:47:42][C][wifi:307]:   Hostname: 'nmcu5'
[22:47:42][C][wifi:311]:   Signal strength: -62 dB ▂▄▆█
[22:47:42][C][wifi:315]:   Channel: 4
[22:47:42][C][wifi:316]:   Subnet: 255.255.255.0
[22:47:42][C][wifi:317]:   Gateway: 192.168.1.11
[22:47:42][C][wifi:318]:   DNS1: 192.168.1.11
[22:47:42][C][wifi:319]:   DNS2: (IP unset)
[22:47:42][D][wifi:466]: Disabling AP...
[22:47:42][C][ota:029]: Over-The-Air Updates:
[22:47:42][C][ota:030]:   Address: nmcu5.local:8266
[22:47:42][C][ota:032]:   Using Password.
[22:47:42][W][ota:036]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts
[22:47:42][C][api:022]: Setting up Home Assistant API server...
[22:47:42][I][app:059]: setup() finished successfully!
[22:47:42]
[22:47:42]--------------- CUT HERE FOR EXCEPTION DECODER ---------------
[22:47:42]
[22:47:42]Exception (9):
[22:47:42]epc1=0x4020c069 epc2=0x00000000 epc3=0x00000000 excvaddr=0x018101ab depc=0x00000000
[22:47:42]
[22:47:42]>>>stack>>>
[22:47:42]
[22:47:42]ctx: cont
[22:47:42]sp: 3ffffc90 end: 3fffffc0 offset: 0190
[22:47:42]3ffffe20:  00000000 00000000 3fff0698 4020b074  
[22:47:42]3ffffe30:  3fff1b98 3fff10e4 3fff0698 00000024  
[22:47:42]3ffffe40:  3fff211c 0000000a 3fff0698 4020bd08  
[22:47:42]3ffffe50:  3fff22bc 00000005 3fff2270 3fff0ae0  
[22:47:42]3ffffe60:  00000100 00000010 00000004 40227ade  
[22:47:42]3ffffe70:  3fffff7c 3fff21f0 3fff21f0 3fff21e4  
[22:47:42]3ffffe80:  3fff071c 3fff21f0 3fff0698 4020d9c8  
[22:47:42]3ffffe90:  3fff1d48 00000000 00000000 3fff1d70  
[22:47:42]3ffffea0:  00000000 00000000 00000000 4021fd50  
[22:47:43]3ffffeb0:  00000000 4021fd50 00000000 4021fd50  
[22:47:43]3ffffec0:  00000000 4021fd50 00000000 4021fd50  
[22:47:43]3ffffed0:  00000000 00000000 3fff1d98 00000000  
[22:47:43]3ffffee0:  00000000 3fff1db8 00000000 40a00000  
[22:47:43]3ffffef0:  00000000 4021fd50 00000000 4021fd50  
[22:47:43]3fffff00:  00000000 4021fd50 00000000 4021fd50  
[22:47:43]3fffff10:  00000000 4021fd50 00000000 00000000  
[22:47:43]3fffff20:  3fff1d08 00000000 00000000 3fff1d28  
[22:47:43]3fffff30:  00000000 3f800000 00000000 4021fd50  
[22:47:43]3fffff40:  00000000 4021fd50 00000000 4021fd50  
[22:47:43]3fffff50:  00000000 4021fd50 00000000 4021fd50  
[22:47:43]3fffff60:  00000000 00000000 3fff21f0 3fff2128  
[22:47:43]3fffff70:  3fff2010 3fff1f9c 3fff20c8 feefeffe  
[22:47:43]3fffff80:  3fff1f9c feefeffe feefeffe feefeffe  
[22:47:43]3fffff90:  feefeffe feefeffe feefeffe 3fff09e8  
[22:47:43]3fffffa0:  3fffdad0 00000000 3fff09a8 4021bff8  
[22:47:43]3fffffb0:  feefeffe feefeffe 3ffe8524 401005c1  
[22:47:43]<<<stack<<<
[22:47:43]
[22:47:43]--------------- CUT HERE FOR EXCEPTION DECODER ---------------
[22:47:43]
[22:47:43] ets Jan  8 2013,rst cause:4, boot mode:(3,6)
[22:47:43]
[22:47:43]wdt reset
[22:47:43]load 0x4010f000, len 3584, room 16 
[22:47:43]tail 0
[22:47:43]chksum 0xb0
[22:47:43]csum 0xb0
[22:47:43]v2843a5ac
[22:47:43]~ld
[22:47:43][I][logger:166]: Log initialized
[22:47:43][C][ota:366]: There have been 3 suspected unsuccessful boot attempts.
[22:47:43][I][app:029]: Running through setup()...
[22:47:43][D][text_sensor:015]: 'nmcu5 Mac Wifi Address': Sending state 'E8:DB:84:97:1D:BC'
[22:47:43][C][wifi:033]: Setting up WiFi...
[22:47:43][D][wifi:324]: Starting scan...
[22:47:49][D][wifi:339]: Found networks:
[22:47:49][I][wifi:385]: - 'OpenWrt-701' (92:F6:52:E1:41:05) ▂▄▆█
[22:47:49][D][wifi:386]:     Channel: 4
[22:47:49][D][wifi:387]:     RSSI: -42 dB
[22:47:49][I][wifi:385]: - 'MikroTik-9E7991' (64:D1:54:9E:79:91) ▂▄▆█
[22:47:49][D][wifi:386]:     Channel: 4
[22:47:49][D][wifi:387]:     RSSI: -58 dB
[22:47:49][I][wifi:194]: WiFi Connecting to 'OpenWrt-701'...
.....
.....
[23:24:52][W][wifi_esp8266:194]: wifi_apply_hostname_(nmcu5): lwIP error -16 on interface st (index 0)
[23:24:52][W][wifi_esp8266:444]: Event: Disconnected ssid='OpenWrt-701' bssid=92:F6:52:E1:41:05 reason='Association Leave'
[23:24:52][W][wifi:485]: Error while connecting to network.
[23:24:52][I][wifi:194]: WiFi Connecting to 'MikroTik-9E7991'...
[23:24:52][W][wifi_esp8266:194]: wifi_apply_hostname_(nmcu5): lwIP error -16 on interface st (index 0)
[23:24:53][I][wifi:457]: WiFi Connected!
[23:24:53][C][wifi:303]:   SSID: 'MikroTik-9E7991'
[23:24:53][C][wifi:304]:   IP Address: 192.168.1.124
[23:24:53][C][wifi:306]:   BSSID: 64:D1:54:9E:79:91
[23:24:53][C][wifi:307]:   Hostname: 'nmcu5'
[23:24:53][C][wifi:311]:   Signal strength: -57 dB ▂▄▆█
[23:24:53][C][wifi:315]:   Channel: 4
[23:24:53][C][wifi:316]:   Subnet: 255.255.255.0
[23:24:53][C][wifi:317]:   Gateway: 192.168.1.11
[23:24:53][C][wifi:318]:   DNS1: 192.168.1.11
[23:24:53][C][wifi:319]:   DNS2: (IP unset)
[23:24:53][D][wifi:466]: Disabling AP...
[23:25:00]
[23:25:00] ets Jan  8 2013,rst cause:4, boot mode:(3,6)
[23:25:00]
[23:25:00]wdt reset
[23:25:00]load 0x4010f000, len 3584, room 16 
[23:25:00]tail 0
[23:25:00]chksum 0xb0
[23:25:00]csum 0xb0
[23:25:00]v2843a5ac
[23:25:00]~ld
[23:25:00][I][logger:166]: Log initialized
[23:25:00][C][ota:366]: There have been 9 suspected unsuccessful boot attempts.
[23:25:00][I][app:029]: Running through setup()...
[23:25:00][D][text_sensor:015]: 'nmcu5 Mac Wifi Address': Sending state 'E8:DB:84:97:1D:BC'
[23:25:00][C][wifi:033]: Setting up WiFi...
[23:25:00][D][wifi:324]: Starting scan...
[23:25:06][D][wifi:339]: Found networks:
[23:25:06][I][wifi:385]: - 'OpenWrt-701' (92:F6:52:E1:41:05) ▂▄▆█
[23:25:06][D][wifi:386]:     Channel: 4
[23:25:06][D][wifi:387]:     RSSI: -25 dB
[23:25:06][I][wifi:385]: - 'MikroTik-9E7991' (64:D1:54:9E:79:91) ▂▄▆█
[23:25:06][D][wifi:386]:     Channel: 4
[23:25:06][D][wifi:387]:     RSSI: -48 dB
[23:25:06][I][wifi:194]: WiFi Connecting to 'OpenWrt-701'...

OpenWRT log for this loop:

Sun Apr  4 18:51:23 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc IEEE 802.11: authenticated
Sun Apr  4 18:51:23 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc IEEE 802.11: associated (aid 1)
Sun Apr  4 18:51:23 2021 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED e8:db:84:97:1d:bc
Sun Apr  4 18:51:23 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc WPA: pairwise key handshake completed (RSN)
Sun Apr  4 18:51:52 2021 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED e8:db:84:97:1d:bc
Sun Apr  4 18:51:52 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc IEEE 802.11: disassociated
Sun Apr  4 18:51:53 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sun Apr  4 18:51:53 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc IEEE 802.11: authenticated
Sun Apr  4 18:51:53 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc IEEE 802.11: associated (aid 1)
Sun Apr  4 18:51:53 2021 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED e8:db:84:97:1d:bc
Sun Apr  4 18:51:53 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc WPA: pairwise key handshake completed (RSN)
Sun Apr  4 18:52:03 2021 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED e8:db:84:97:1d:bc
Sun Apr  4 18:52:03 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc IEEE 802.11: disassociated
Sun Apr  4 18:52:04 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sun Apr  4 18:52:12 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc IEEE 802.11: authenticated
Sun Apr  4 18:52:12 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc IEEE 802.11: associated (aid 1)
Sun Apr  4 18:52:12 2021 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED e8:db:84:97:1d:bc
Sun Apr  4 18:52:12 2021 daemon.info hostapd: wlan0-1: STA e8:db:84:97:1d:bc WPA: pairwise key handshake completed (RSN) 

Also I can see this 'exeption decoder'

[15:32:43]
[15:32:43]--------------- CUT HERE FOR EXCEPTION DECODER ---------------
[15:32:43]
[15:32:43]Exception (9):
WARNING Exception type: LoadStoreAlignmentCause: Load or store to an unaligned address
[15:32:43]epc1=0x4020ddf5 epc2=0x00000000 epc3=0x00000000 excvaddr=0x0153017d depc=0x00000000
INFO Need to fetch platformio IDE-data, please stand by
INFO Running:  platformio run -d config/sonoffs20 -t idedata
WARNING Decoded 0x4020ddf5: esphome::wifi::WiFiComponent::print_connect_params_()
[15:32:43]
[15:32:43]>>>stack>>>
WARNING Found stack trace! Trying to decode it
[15:32:43]
[15:32:43]ctx: cont
[15:32:43]sp: 3ffffc80 end: 3fffffc0 offset: 0190
[15:32:43]3ffffe10:  3fff29f4 0000000c 3fff11b0 4020cebc  
WARNING Decoded 0x4020cebc: esphome::switch_::Switch::turn_on()
[15:32:43]3ffffe20:  3fff2680 00000000 3fff11b0 00000030  
[15:32:43]3ffffe30:  3fff29f4 0000000d 3fff11b0 4020db50  
WARNING Decoded 0x4020db50: esphome::wifi::WiFiComponent::setup_ap_config_()
[15:32:43]3ffffe40:  3fff30bc 0000000b 00000020 4010123e  
WARNING Decoded 0x4010123e: RC_GetBlockAckTime
[15:32:43]3ffffe50:  00000100 00000028 0000000a 4020ce88  
WARNING Decoded 0x4020ce88: esphome::switch_::Switch::get_icon()
[15:32:43]3ffffe60:  3fff29d4 3fff1738 00000010 3fff1254  
[15:32:43]3ffffe70:  3fff1250 3ffffec8 3fff11b0 4020fabf  
WARNING Decoded 0x4020fabf: esphome::wifi::WiFiComponent::wifi_pre_setup_()
[15:32:43]3ffffe80:  3fff2830 00000000 00000000 3fff2860  
[15:32:43]3ffffe90:  00000000 00000000 00000000 402224d8  
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
[15:32:43]3ffffea0:  00000000 402224d8 00000000 402224d8  
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
[15:32:43]3ffffeb0:  00000000 402224d8 00000000 402224d8  
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
[15:32:44]3ffffec0:  00000000 00000000 3fff2880 00000000  
[15:32:44]3ffffed0:  00000000 3fff28a0 00000000 40a00000  
[15:32:44]3ffffee0:  00000000 402224d8 00000000 402224d8  
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
[15:32:44]3ffffef0:  00000000 402224d8 00000000 402224d8  
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
[15:32:44]3fffff00:  00000000 402224d8 00000000 00000000  
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
[15:32:44]3fffff10:  3fff27f0 00000000 00000000 3fff2810  
[15:32:44]3fffff20:  00000000 00000000 00000000 402224d8  
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
[15:32:44]3fffff30:  00000000 402224d8 00000000 402224d8  
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
[15:32:44]3fffff40:  00000000 402224d8 00000000 402224d8  
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
WARNING Decoded 0x402224d8: _snprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/snprintf.c:71
[15:32:44]3fffff50:  00000000 00000000 00000000 00000000  
[15:32:44]3fffff60:  00000000 3fff2b0c 3fff2acc 3fff2a84  
[15:32:44]3fffff70:  3fff2d54 3fff2bfc feefeffe feefeffe  
[15:32:44]3fffff80:  3ffffec8 3fff2f44 3fff29cc feefeffe  
[15:32:44]3fffff90:  feefeffe feefeffe feefeffe 3fff1520  
[15:32:44]3fffffa0:  3fffdad0 00000000 3fff14e0 4021e034  
WARNING Decoded 0x4021e034: yield
[15:32:44]3fffffb0:  feefeffe feefeffe 3ffe84f8 40100625  
WARNING Decoded 0x40100625: realloc
[15:32:44]<<<stack<<<
[15:32:44]
[15:32:44]--------------- CUT HERE FOR EXCEPTION DECODER ---------------
[15:32:44]

And sometimes [15:32:44][E][ota:371]: Boot loop detected. Proceeding to safe mode. But this 'safe mode' do not change behaviour

Additional information and things you've tried:

ghost commented 3 years ago

I upload logs archive here: https://mypower.ml/s/BDykKwZbMN2WzGq If something other needed, I can reproduce (maybe, If I will not disable/reconfigure/reuse AP2 repeater)

probot-esphome[bot] commented 3 years ago

wifi source wifi issues wifi recent changes (message by IssueLinks)

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ghost commented 2 years ago

I did a workaround by buy new wifi router with wifi3, beamforming etc...

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.