Closed AlesSt closed 4 years ago
Hi @AlesSt
Thanks for using the library and your encouraging words.
when i try accessing it from my Note10+ (Chrome or builtin browser and latest fw) page takes AGES to load (more than 5 mins or it doesnt at all) from PC (Chrome browser, win 10) it works as should.
sometimes i get back error in Serial monitor other times i dont: [E][WebServer.cpp:617] _handleRequest(): request handler not found and usually after a few refreshes it loads the page quite quickly :)
is there any idea what is going on? and mainly how to solve it?
I have no idea how to solve it. Just some suggestions:
is there a way i can change the portal html code?
The full code is in public and you can change to fit your purpose. You can contribute by writing such a version for cell phone browser.
Or perhaps if that part of the code could be a separate file so it would be easy to change it
The HTML code is very dynamic, and it's automatically changing according to your dynamic parameters. So you have to read the code, fully understand then you can modify it.
we start from beginning no page loaded ..... need to refresh a few times and then it starts working or i need to wait a minute or a few :)
I don't think I can help any further and close the issue now.
Regards,
Got it :) i guess NTP makes some problems on mobiles :) updated lib to new version and disabled NTP and it works as a charm :)
again thank you for YOUR work here :)
is there a way to disable the static IP inputs on the config page? or should i just found the references in handle config?
BR Ales
That's good news you find out a way to solve the problem.
again thank you for YOUR work here :)
You're very welcome and we, the Library Authors/Maintainers, are very happy when users can apply and make applications useful in real life.
is there a way to disable the static IP inputs on the config page?
Currently, you can do this by changing the line #975 of ESP_WiFiManager-Impl.h
to
if (_sta_static_ip)
{
from
//if (_sta_static_ip)
{
I'll change to permit this feature to be user-configurable in next release, if there are more similar requests.
Hi @AlesSt
ESP_WiFiManager v1.0.10 has just been released with these new features:
The item 2
- Disable/Enable StaticIP configuration in Config Portal from sketch. Valid only if DHCP is used.
is an enhancement according to your request
is there a way to disable the static IP inputs on the config page
You'll see your contribution (by asking a good and then implemented enhancement) was noted in
Don't hesitate to have and post more enhancement requests as well as bug reports.
Regards,
Got it :) i guess NTP makes some problems on mobiles :) updated lib to new version and disabled NTP and it works as a charm :)
again thank you for YOUR work here :)
is there a way to disable the static IP inputs on the config page? or should i just found the references in handle config?
BR Ales
Thanks a lot my friend, It's works for me!!!
I had some problems with the asynchronous server and AsyncElegantOTA, because the web interface of the captive portal was not visible, and sometimes it was...
But setting the NTP to false, solved.
Hello,
First i would like to thank you for the GREAT lib (I use it for my ESP-32 projects).
So off to the problem:
My SETUP function:
and when i have no credentials stored it starts ConfPortal BUT the problem is that when i try accessing it from my Note10+ (Chrome or builtin browser and latest fw) page takes AGES to load (more than 5 mins or it doesnt at all) from PC (Chrome browser, win 10) it works as should.
sometimes i get back error in Serial monitor other times i dont: [E][WebServer.cpp:617] _handleRequest(): request handler not found and usually after a few refreshes it loads the page quite quickly :)
is there any idea what is going on? and mainly how to solve it? I was thinking that i might have messed some of config part? like IP addresses (had to change it as one of my networks i connect over VPN is 192.168.4.x)
There is also a question i would like to ask ...... is there a way i can change the portal html code? i would like to use one that suits me more? Or perhaps if that part of the code could be a separate file so it would be easy to change it (just a hint perhaps for some future updates) :) and perhaps not being affected when you update your lib (or at least just being able to copy html related files over and you are done :) )?
BR Ales
EDIT: like email :) when I click send, I remember to attach file :) so the file here is .... after portal is loaded if i click on any button .... we start from beginning no page loaded ..... need to refresh a few times and then it starts working or i need to wait a minute or a few :)