Closed Molaire closed 2 years ago
I remember something about an update in the ESP-IDF causing this new behaviour when one is trying to connect even though the WLAN is already connected. For now I'd suggest just not manually connecting the WIFI. Just start your webrepl and let mqtt_as do all the wifi connect. The webrepl should work either way.
I discovered this while having the webrepl start in my boot.py, earlier than the MQTTClient start. Running on micropython 1.16-135 on ESP32.
If I override the default wifi_connect, it works fine: