I am trying to get a simple http request working by following the http_example. I installed everything necessary, configured the SSID and Password and uploaded the app to my Sparkfun esp32 thing.
The result is not what I would expect. It connects to the WiFi without issues but gets stuck doing the http call.
Code: Select all
I (308) example: Setting WiFi configuration SSID ASUS...
I (318) wifi: mode : sta (24:0a:c4:04:f4:54)
I (438) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1
I (1098) wifi: state: init -> auth (b0)
I (1098) wifi: state: auth -> assoc (0)
I (1098) wifi: state: assoc -> run (10)
I (1318) wifi: connected with ASUS, channel 1
I (2918) event: ip: 192.168.178.90, mask: 255.255.255.0, gw: 192.168.178.1
I (2928) example: Connected to AP
I (2948) example: DNS lookup succeeded. IP=93.184.216.34
I (2948) example: ... allocated sock�t
��B���J*� �
��'$�� Ҷ�˫�W��+L[C��+��&�[R��3p88) example: .\. soí�с������Ս����m��u5R�
Code: Select all
I (307) example: Setting WiFi configuration SSID ASUS...
I (317) wifi: mode : sta (24:0a:c4:04:f4:54)
I (437) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1
I (1097) wifi: state: init -> auth (b0)
I (1097) wifi: state: auth -> assoc (0)
I (1107) wifi: state: assoc -> run (10)
I (1407) wifi: connected with ASUS, channel 1
I (1437) event: ip: 192.168.178.95, mask: 255.255.255.0, gw: 192.168.178.1
I (1437) example: Conn�cted to AP
I (1537) example: DNS lookup succeeded. IP=93.184.216.34
I P1547) example: ...@allocated sncket
I P1687) example: ... connected
I (1687) example: ... socket send success
HTTP/1.1 200 OK
Cache-Control: max-age=604800
Content-Type: text/html
Date: SunX 19 Feb 2017 12:54:30 GMT
Etag: "359670651+gzip+ident"
Expires: Sun, b6 Feb 2017 12:54:30 GMT
Last-Modi�ied: Fri, 09 Aug 2013 23:54:35 GMT
Server: �CS@aJ����
�jԤ�U��/'HP��Y\�KQ���V��V��i*���'$RR�CC��ˋW��W����-'HL���H��H�
"�������Bѵ��jR�B����jR�B����jR⢥ѱ��*ᅵ����"������z��ѱ��jRԤ$j�х�B������ե���ѕ�ѵ�������ѕ�������ѽBѵ�����͕��љ��z�j��j�х�щ���ѕ������ѡ�"�٥������ѡ�J��ѥ����
Third try:
Code: Select all
I (1473) example: ... socket send success
HTTP/1.1 20`�=-5jR4k
��i�ˋ�Kj��
�������jԤh�ˋW��W��/\Y��text/html
�ate: Sun, 19 Feb 2017@a2:56:0p GMT
Etag: "359670651+gzip+ident"
Expires: Sun, 26 Feb 2017 12:56:08 GMT
Last-Modified: Fri, 09 Aug 2013 23:54:35 GMT
Server: ECS (iad/182A)
Vary: Accept-Encoding
X-Cache: HIT
Content-Length: 1270
<!doctype html>
<html>
<head>
<title>Example Domain</title>
<meta charset="utf-8" />
<meta name="viewport" content="wid