ESPUI icon indicating copy to clipboard operation
ESPUI copied to clipboard

Exception when connecting captive portal

Open petricf opened this issue 6 months ago • 2 comments

Describe the bug Connect via WiFi to the Portal ends with exception and following restart.

To Reproduce Steps to reproduce the behavior:

  1. Upload example project "tabbedGUI"
  2. Connect from mobile after the AP was started
  3. Exception thown
  4. See attached file ESPUI-Serial-Output.txt
  5. See attached ESPUI-Stack-Trace.txt

Expected behavior Display the test screen via the presented AccessPoint.

Screenshots

ESPUI-Serial-Output.txt

ESPUI-Stack-Trace.txt

Desktop (please complete the following information):

  • OS: Linux Mint Cinnamon
  • Browser: Arduino IDE
  • Version 2.3.7-nightly

Smartphone (please complete the following information):

  • Device: Redmi Note 12
  • OS: Android 15
  • Browser: currently not involved

Additional context Installed:

  • ESPUI 2.2.4

Sketch upload output:

ESPUI-Upload-Output.txt

No idea what went wrong. Any hints ?

petricf avatar Jun 17 '25 22:06 petricf

Hardcoding the WLAN-credentials in the sketch skips the captive portal.

Now i got the test screen.

petricf avatar Jun 17 '25 23:06 petricf

After removing all occurences of dnsserver from the sketch the demo sketch works.

At least gui example exhibits the same problem.

Could mDNS be a better solution ?

petricf avatar Jun 17 '25 23:06 petricf