Code Monkey home page Code Monkey logo

Comments (12)

nosoropoped avatar nosoropoped commented on August 25, 2024 2

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.
Your library is great and I would really appreciate your help.
P.S. All necessary libraries are installed.
thank

from espui.

s00500 avatar s00500 commented on August 25, 2024 1

Yes I definitely should do that

from espui.

s00500 avatar s00500 commented on August 25, 2024 1

What processor are you using ? esp32 or esp8266 ?

from espui.

s00500 avatar s00500 commented on August 25, 2024 1

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

from espui.

nosoropoped avatar nosoropoped commented on August 25, 2024

this example don't work https://github.com/s00500/ESPUI/tree/870e8a06a27c02074ccee4b0fec8b6a452ac3eb3/examples
error: invalid conversion from 'void ()(Control, int)' to 'void ()(Control*, int)' [-fpermissive]

the sketch above in arduino 1.8.12 and in earlier versions does not work, please help

from espui.

nosoropoped avatar nosoropoped commented on August 25, 2024

esp8266, Node MCU v3

from espui.

s00500 avatar s00500 commented on August 25, 2024

Ok, so this is not an easy to fix thing... and also not a issue of this library per se...
See the discussion here:
espressif/arduino-esp32#1037

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!)
Try for example: http://captive.apple.com

Otherwise you can play with the captive portal examples included in the ESP8266 arduino core and try to figure out what works for you...

from espui.

nosoropoped avatar nosoropoped commented on August 25, 2024

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

from espui.

nosoropoped avatar nosoropoped commented on August 25, 2024

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!

from espui.

s00500 avatar s00500 commented on August 25, 2024

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

from espui.

nosoropoped avatar nosoropoped commented on August 25, 2024

Thank you, I will be very grateful if you can take the time to help. Your library is very popular in narrow circles.

from espui.

blackpressinc avatar blackpressinc commented on August 25, 2024

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.

from espui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.