[GH-ISSUE #604] Unable to start webserver after "Exit". - softAPdisconnect FAILED #504

Closed
opened 2026-02-28 01:25:36 +03:00 by kerem · 4 comments
Owner

Originally created by @MichMich on GitHub (May 1, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/604

Basic Infos

Hardware

WiFimanager Branch/Release: Development

Esp8266/Esp32: ESP32 Wemos Lolin32 OLED

Hardware: ESP32 Wemos Lolin32 OLED

Core Version: Latest.

Description

Id like to start a webserver after the "Exit" button in the config screen is pressed. In this case I want to run, or keep running the ESP32 in AP mode, and use the softAP mode to allow the user to continue with a direct connection to the ESP.

After I press the Exit button, I can connect to the ESP, but the webserver (WebServer_tng) is unable to start on port 80. When I use port 8080 it works without any issues.

When I check the serial log of WiFi manager, the following is interesting:

*WM: <- HTTP Exit
*WM: disconnect configportal
*WM: [ERROR] disconnect configportal - softAPdisconnect FAILED
*WM: config portal exiting

As you can see, it gives an error.

Settings in IDE

Module: lolin32

Originally created by @MichMich on GitHub (May 1, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/604 ### Basic Infos #### Hardware WiFimanager Branch/Release: Development Esp8266/Esp32: ESP32 Wemos Lolin32 OLED Hardware: ESP32 Wemos Lolin32 OLED Core Version: Latest. ### Description Id like to start a webserver after the "Exit" button in the config screen is pressed. In this case I want to run, or keep running the ESP32 in AP mode, and use the softAP mode to allow the user to continue with a direct connection to the ESP. After I press the Exit button, I can connect to the ESP, but the webserver (WebServer_tng) is unable to start on port 80. When I use port 8080 it works without any issues. When I check the serial log of WiFi manager, the following is interesting: ``` *WM: <- HTTP Exit *WM: disconnect configportal *WM: [ERROR] disconnect configportal - softAPdisconnect FAILED *WM: config portal exiting ``` As you can see, it gives an error. ### Settings in IDE Module: lolin32
kerem closed this issue 2026-02-28 01:25:37 +03:00
Author
Owner

@tablatronix commented on GitHub (May 1, 2018):

#545

<!-- gh-comment-id:385701925 --> @tablatronix commented on GitHub (May 1, 2018): #545
Author
Owner

@tablatronix commented on GitHub (May 1, 2018):

can you reproduce with this gist?
https://gist.github.com/tablatronix/e57dc3096ea311dd0e59aa512b8fe6e7

<!-- gh-comment-id:385703243 --> @tablatronix commented on GitHub (May 1, 2018): can you reproduce with this gist? https://gist.github.com/tablatronix/e57dc3096ea311dd0e59aa512b8fe6e7
Author
Owner

@tablatronix commented on GitHub (May 1, 2018):

*WM: [ERROR] disconnect configportal - softAPdisconnect FAILED
was fixed in the esp32 lib, you must not be running the latest core

<!-- gh-comment-id:385703817 --> @tablatronix commented on GitHub (May 1, 2018): `*WM: [ERROR] disconnect configportal - softAPdisconnect FAILED` was fixed in the esp32 lib, you must not be running the latest core
Author
Owner

@MichMich commented on GitHub (May 2, 2018):

Ah, I'll update to the latest core, and check again. Thanks!

<!-- gh-comment-id:385958435 --> @MichMich commented on GitHub (May 2, 2018): Ah, I'll update to the latest core, and check again. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#504
No description provided.