Wifimanager setup not working

I’m verry busy these days here but I have another problem.
I upload the esp32dev-ble image to my NodeMCU ESP-32S. After connecting to the OMG wifi network I got the wifi manager like expected, but after I pressed the configure wifi button it kept spinning.

I found in the serial monitor that a request handler isn’t working:

************* WELCOME TO OpenMQTTGateway **************
N: OpenMQTTGateway Version: v0.9.16
*WM: [1] Free heap:        152180
*WM: [1] ESP-IDF version:  v3.3.5-1-g85c43024c
*WM: [3] allocating params bytes: 20
*WM: [2] Added Parameter: server
*WM: [2] Added Parameter: port
*WM: [2] Added Parameter: user
*WM: [2] Added Parameter: pass
*WM: [2] Added Parameter: secure
*WM: [3] Updated _max_params: 10
*WM: [3] re-allocating params bytes: 40
*WM: [2] Added Parameter: cert
*WM: [2] Added Parameter: name
*WM: [2] Added Parameter: topic
N: Attempting Wifi connection with saved AP: 0
[E][WiFiSTA.cpp:221] begin(): connect failed!
N: Attempting Wifi connection with saved AP: 1
[E][WiFiSTA.cpp:221] begin(): connect failed!
N: Attempting Wifi connection with saved AP: 2
[E][WiFiSTA.cpp:221] begin(): connect failed!
N: Attempting Wifi connection with saved AP: 3
[E][WiFiSTA.cpp:221] begin(): connect failed!
N: Attempting Wifi connection with saved AP: 4
[E][WiFiSTA.cpp:221] begin(): connect failed!
N: Connect your phone to WIFI AP: OpenMQTTGateway_ESP32_BLE with PWD: your_password
*WM: [1] AutoConnect
*WM: [2] ESP32 event handler enabled
*WM: [2] Connecting as wifi client...
*WM: [1] STA static IP:
*WM: [2] setSTAConfig static ip not set
*WM: [3] WIFI station disconnect 
*WM: [1] No saved credentials, skipping wifi
*WM: [2] Connection result: WL_NO_SSID_AVAIL
*WM: [3] lastconxresult: WL_NO_SSID_AVAIL
*WM: [1] AutoConnect: FAILED 
*WM: [2] AccessPoint set password is VALID
*WM: [1] your_password
*WM: [3] WIFI station disconnect
*WM: [3] WiFi station enable
*WM: [2] Disabling STA
*WM: [2] Enabling AP 
*WM: [1] StartAP with SSID:  OpenMQTTGateway_ESP32_BLE
*WM: [1] AP IP address: 192.168.4.1
*WM: [3] setupConfigPortal
*WM: [1] Starting Web Portal
*WM: [3] dns server started with ip:  192.168.4.1
*WM: [2] HTTP server started
*WM: [2] WiFi Scan ASYNC started
*WM: [2] Config Portal Running, blocking, waiting for clients...
*WM: [2] WiFi Scan ASYNC completed in 5315 ms
*WM: [2] WiFi Scan ASYNC found: 10
*WM: [2] Portal Timeout In 92 seconds
[E][WebServer.cpp:633] _handleRequest(): request handler not found
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
[E][WebServer.cpp:633] _handleRequest(): request handler not found
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
[E][WebServer.cpp:633] _handleRequest(): request handler not found
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal 
*WM: [2] <- HTTP Root 
*WM: [3] -> 192.168.4.1
*WM: [3] lastconxresulttmp: WL_IDLE_STATUS
*WM: [3] lastconxresult: WL_DISCONNECTED
*WM: [2] WiFi Scan ASYNC started
*WM: [2] <- HTTP Wifi 
*WM: [2] Scan is cached 38339 ms ago
*WM: [1] 10 networks found
*WM: [2] DUP AP:
*WM: [2] DUP AP:
*WM: [2] DUP AP:
*WM: [2] DUP AP:
*WM: [2] DUP AP:
*WM: [2] DUP AP:
*WM: [2] DUP AP:
*WM: [2] DUP AP:
*WM: [2] DUP AP:
*WM: [2] AP:  0
*WM: [3] lastconxresulttmp: WL_IDLE_STATUS
*WM: [3] lastconxresult: WL_DISCONNECTED
*WM: [3] Sent config page
**[E][WebServer.cpp:633] _handleRequest(): request handler not found**
*WM: [3] -> 192.168.4.1 
*WM: [2] WiFi Scan ASYNC completed in 5319 ms
*WM: [2] WiFi Scan ASYNC found: 9

Also I get disconnected from the OMG hostspot because it restarts after this.
Manual configuration works, but that’s very annoying, because I don’t like hard coded password ect.

Hi again :wink:

please see my latest post in

This should hopefully remedy your issue as well.

I think it was because I didn’t set the wifi to private on windows 10. It disconnected before It could load the page I guess.