Page 1 of 1

trouble loading web page hosted by ESP32

Posted: Fri Nov 17, 2017 4:55 pm
by kyle68003
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

Re: trouble loading web page hosted by ESP32

Posted: Mon Nov 20, 2017 3:59 pm
by iot-bits.com
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.

Re: trouble loading web page hosted by ESP32

Posted: Mon Nov 20, 2017 6:13 pm
by kolban
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?