I am trying to get my ESP32 to be an access point using WiFi.softAP.
I got everything to work as expected using a laptop running Windows and on a iphone.
When I try connecting on my phone (pixel) running android, the page times out and does not load. I can connect to the ESP32 over wifi but cannot get the page to load.
Any ideas on why this will work in Windows and ios but not android?
Thanks
trouble loading web page hosted by ESP32
- iot-bits.com
- Posts: 25
- Joined: Wed Dec 21, 2016 6:14 am
- Location: India
- Contact:
Re: trouble loading web page hosted by ESP32
I think you should use telnet on Windows and try to make a manual request to see what response you get.
Something like
GET /anypage.html HTTP/1.1
Host: 192.168.x.x
If the response is not proper (such as the length of web page in bytes is smaller than what is specified in the header?), then you may be getting time-outs. If it is nothing that obvious, then it might be something more subtle.
Something like
GET /anypage.html HTTP/1.1
Host: 192.168.x.x
If the response is not proper (such as the length of web page in bytes is smaller than what is specified in the header?), then you may be getting time-outs. If it is nothing that obvious, then it might be something more subtle.
- Pratik
Just another hobbyist and consultant
Just another hobbyist and consultant
Re: trouble loading web page hosted by ESP32
Also check that your iPhone is connected to the same WiFi access point as your ESP32 and not connecting to the Internet via a cellular connection. When you try and launch the ESP32 web page, are you using an IP address or hostname? Can you "ping" your iPhone by its IP address from other devices on your local LAN? Are there any log messages written the web server app running on your ESP32?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Who is online
Users browsing this forum: Baidu [Spider] and 44 guests