Here's what the esp8266 spits out:
[OTA]Server 192.168.30.134:5000. Path: /firmware/latest/user2.bin
system_upgrade_start
upgrade_connect
[OTA]Upgrading...
upgrade_connect_cb
GET /firmware/latest/user2.bin HTTP/1.1
Host: 192.168.30.134:5000
Connection: close
HEAD /firmware/latest/user2.bin HTTP/1.1
Host: 192.168.30.134:5000
Connection: close
On the flask end, I see the HEAD HTTP request only:
192.168.30.24 - - [26/Oct/2015 11:26:46] "HEAD /firmware/latest/user2.bin HTTP/1.1" 200 -
So, I have two questions:
1. What happened to the GET request?
2. I see other folks doing FOTA receiving a "Connection: Keep Alive" in their HTTP header but I get a "Connection: Closed". Is this the root cause? I guess I can switch to another HTTP server to serve this request but I thought I would try to see what the folks here think.