sle118 / squeezelite-esp32

ESP32 Music streaming based on Squeezelite, with support for multi-room sync, AirPlay, Bluetooth, Hardware buttons, display and more
1.19k stars 108 forks source link

Bug when changing wifi network #315

Closed Renber78 closed 1 year ago

Renber78 commented 1 year ago

It seems to me that there is a bug when changing wifi. I moved my hardware to another location (another wifi), I got the page 192.168.4.1 and I was able to configure the new wifi. It worked. When I came home with it, I wanted to put the old wifi back on. The page 192.168.4.1 is there, I was able to choose my wifi, the connection is made but when I reboot it still tries to connect to the previous wifi. Weird thing:

I was able to unblock it by doing "wifi_erase_config -la" in the console.

In the logs, the only abnormal thing I see is:

E (97215) network: network manager Unhandled Event NETWORK_WIFI_CONFIGURING_ACTIVE_STATE(WIFI_CONFIGURING_STATE) [EN_CONNECTED] E (99285) network: network manager Unhandled Event NETWORK_WIFI_CONFIGURING_ACTIVE_STATE(WIFI_CONFIGURING_STATE) [EN_GOT_IP]

I have the impression that it cannot overwrite old wifi data.

I use a 16MB ESP32-Wrover-B with firmware v1572

sle118 commented 1 year ago

Please share the full log, as this feels like peeking through a very small window and doesn't give me all surrounding context

sle118 commented 1 year ago

Going to close of for now. Feel free to reopen with more info. Thank you