Skip to content
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

wifi connection and redirection after connecting #18

Open
csheldon93 opened this issue Oct 23, 2018 · 4 comments
Open

wifi connection and redirection after connecting #18

csheldon93 opened this issue Oct 23, 2018 · 4 comments

Comments

@csheldon93
Copy link

After loading esphttpd firmware, everything works really well, except two (most important things):

  1. Redirection after connecting to ESP Access point. It redirectes but never gets loaded, and I have to push reload button on chrome browser multiple times until it loads the index page
  2. Scanning of available wifi networks...after switching to STA+AP mode, it never finishes scanning and never shows available networks...it just sits there saying scanning...

any help please?

@Cicero-MF
Copy link

This happens to me as well. Android Samsung S8, Chrome browser, captive portal doesn't work well. It is almost like it gets overwhelmed by connections...but I haven't looked into it enough to confirm that theory. As a temporary workaround I added a whitelist of URL's it allows autoredirects to index, and ignore the rest of the URL's.

@mharizanov
Copy link

Same here. I believe proper captive portal is much more complex than responding with the local IP. See this discussion for example https://unix.stackexchange.com/questions/432190/why-isnt-androids-captive-portal-detection-triggering-a-browser-window

@Cicero-MF
Copy link

Yes, true, I also follow this project with similar issues idolpx/mobile-rr#2 (comment)
Although as far as I understand, esphttpd doesn't exactly have an automatic captive portal which is meant to open a browser window automatically with all the problems associated with that (checking for internet connected sites etc), but it is still meant to redirect any input URL to the index page - Sprite called it captive DNS. But even the redirect is flaky and requires refreshing.

@wdouglas1999
Copy link

Hi, I am using esp-idf with ESP32. I have the issue of scanning of available WiFi networks which never seems to appear.
Is there any work around or solution I can try for this?
Thank you in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants