-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Autoreconnect doesn't work due to _arduino_event_cb(): STA Got Same IP #1646
Comments
Interesting |
I don't know if there's a way to "reset" WiFi and avoid STA Got Same IP by erasing the previous one... I tried many esp API calls but nothing works, even deinit and init again doesn't work... P.S. with WiFi.reconnect it works even with same IP so it must be WiFiManager library (?) maybe this piece of code |
Sounds like it might be an ESP lib issue, either way I will see if we can workaround it is [ 57622][V][WiFiGeneric.cpp:367] _arduino_event_cb(): STA Got Same IP:192.168.173.158 I wonder if switching ap to ap would also do this? |
Yes and routine stuff like STA disconnected, start etc due to wifimanager behaviour Switching from ap to ap? Idk, honestly it would be weird if different AP same IP no? |
oh and also, sometimes a weird error which seems related to |
could you also tell me what's causing hostByName(): DNS Failed for www.google.com ? I'll follow this: espressif/arduino-esp32#1595 (comment) It seems to work, well I was using a task on core 0 with priority 10... but I never heard of this problem before... maybe it's causing problem with wifimanager too, like not letting events to be detected? |
What esp version are you using ? |
Dev Module, 2.0.4 |
ehy @tablatronix I think I found the problem, look here please: espressif/arduino-esp32#653 (comment) and here: espressif/arduino-esp32#1100 (comment) currently I've upgraded to 2.0.11 |
[ 57622][V][WiFiGeneric.cpp:367] _arduino_event_cb(): STA Got Same IP:192.168.173.158
11:35:48.219 -> Got time adjustment from NTP!
11:35:49.962 -> *wm:AutoConnect: FAILED
Hi, I noticed that even if ESP32 connects to WiFi, switching from ethernet module, wifi manager will say *wm:AutoConnect: FAILED
but ESP32 is successfully connected...
The text was updated successfully, but these errors were encountered: