-
Notifications
You must be signed in to change notification settings - Fork 159
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
Captive portal #25
Comments
Yes I definitely should do that |
this example don't work https://github.com/s00500/ESPUI/tree/870e8a06a27c02074ccee4b0fec8b6a452ac3eb3/examples the sketch above in arduino 1.8.12 and in earlier versions does not work, please help |
What processor are you using ? esp32 or esp8266 ? |
esp8266, Node MCU v3 |
Not really sure why you are using such an old version of the examples, make sure you are using the latest version of the libraries and the examples ! https://github.com/s00500/ESPUI/tree/master/examples |
I tried these examples, and tried again, but the connection to the page occurs only when entering the IP address manually (you have 192.168.1.1). Unfortunately, using captive portal does not work for me yet. When connecting to the ESP8266, nothing happens, the redirection of any request does not work, and there is no pop-up window with authentication on the phone. |
Ok, so this is not an easy to fix thing... and also not a issue of this library per se... It hugely depends what OS you are using and how the captive portal is handled there. Meanwhile opening the browser and opening any http:// address should work (No https!) Otherwise you can play with the captive portal examples included in the ESP8266 arduino core and try to figure out what works for you... |
yes, if you enter the html address exactly - everything works, but there is no pop-up window asking for pseudo-authentication. everything works well with the ESP8266WebServer library. I will try, thank you very much. Arduino IDE. Win10 |
Oh, it didn't work out for me (and not only for me) to launch the captive portal, I tried different versions of the IDE arduino, different boards: 8266, 32, but despite the DNS library, it is only easy to enter the page using manual input. Used examples from your library. Tell me what could be the problem. Thank you! |
So... The problem might be the following: Captive portals in ios and android will only show up if all traffic is properly answered with a HTTP redirect. So even tough the dns server points traffic to the ESP you devices will still not show a popup as they do not get the correct redirect message back from the server... this could be implemented easily but I do not have time for it right now, prs are welcome |
Thank you, I will be very grateful if you can take the time to help. Your library is very popular in narrow circles. |
I was wondering if there was any update on this issue? I recently implimented a captive portal for ESPUI and it works on Android but does not seem to pop up on iOS. |
Is it possible to add a captive portal to the ESPUI interface?
The text was updated successfully, but these errors were encountered: