After integrating a new device into ESPHome, it fails to connect to the WiFi network, displaying the message: “reason=‘Auth Expired’”.
The device in question is an “ESP32 Wrover 1B”. An identical second device was tested and exhibited the same issue. Various routers and SSIDs were tried, both with and without passwords, as well as dynamic and static IP addresses. The problem persisted in all scenarios.
Any suggestions on what might be causing this issue?
Below is the beginning of the log:
[21:33:29]ets Jul 29 2019 12:21:46 [21:33:29] [21:33:29]rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[21:33:29]configsip: 0, SPIWP:0xee [21:33:29]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[21:33:29]mode:DIO, clock div:2
[21:33:29]load:0x3fff0030,len:1184
[21:33:29]load:0x40078000,len:13132
[21:33:29]load:0x40080400,len:3036
[21:33:29]entry 0x400805e4
[21:33:30][I][logger:156]: Log initialized
[21:33:30][C][safe_mode:079]: There have been 4 suspected unsuccessful boot attempts
[21:33:30][D][esp32.preferences:114]: Saving 1 preferences to flash…
[21:33:30][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[21:33:30][I][app:029]: Running through setup()…
[21:33:30][C][wifi:047]: Setting up WiFi…
[21:33:30][C][wifi:060]: Starting WiFi…
[21:33:30][C][wifi:061]: Local MAC: FC:B4:67:4E:92:50
[21:33:30][D][wifi:481]: Starting scan…
[21:33:30][W][component:157]: Component wifi set Warning flag: scanning for networks
[21:33:36][D][wifi:496]: Found networks:
[21:33:36][I][wifi:540]: - ‘Jorto-1’ (8A:C9:E3:8C:34:28) [redacted]▂▄▆█
[21:33:36][D][wifi:541]: Channel: 11 [21:33:36][D][wifi:542]: RSSI: -68 dB
[21:33:36][D][wifi:545]: - ‘’[redacted] (8A:C9:E3:8C:34:29) [redacted]▂▄▆█
[21:33:36][I][wifi:312]: WiFi Connecting to ‘Jorto-1’…
[21:33:41][W][wifi_esp32:530][arduino_events]: Event: Disconnected ssid=‘Jorto-1’ bssid=8A:C9:E3:8C:34:28[redacted] reason=‘Auth Expired’
[21:33:41][W][wifi:652]: Error while connecting to network.
[21:33:41][D][wifi:696]: Retrying with hidden networks…
[21:33:41][I][wifi:312]: WiFi Connecting to ‘Jorto-1’…
[21:33:46][W][wifi_esp32:530][arduino_events]: Event: Disconnected ssid=‘Jorto-1’ bssid=8A:C9:E3:8C:34:28[redacted] reason=‘Auth Expired’
[21:33:46][W][wifi:652]: Error while connecting to network.
[21:33:46][D][wifi:696]: Retrying with hidden networks…
[21:33:51][I][wifi:312]: WiFi Connecting to ‘Jorto-1’…
[21:34:02][W][wifi_esp32:530][arduino_events]: Event: Disconnected ssid=‘Jorto-1’ bssid=8A:C9:E3:8C:34:28[redacted] reason=‘Auth Expired’
[21:34:02][W][wifi:652]: Error while connecting to network.
[21:34:02][D][wifi:696]: Retrying with hidden networks…
I did keep the ESP32 close to the router even with an external antenna but this did not help.
I now have added the code as you suggested but still the same error.
There is nothing connected to the device. I just added it to ESPHome without any extra code.
The device is powered by an USB 3.x port so that should deliver enough current.
I assume there is an hardware failure on both of my devices.