Thank you for the awesome library!
Unfortunately, I haven't managed to get fota to work with the ubisen server that is running locally and the fota module from this repo. On the ESP side:
FOTA client: Connect to ip 192.168.30.134:80
FOTA Client: Sent request
FOTA Client: Request timeout, close connection
FOTA Client: Disconnect
Final response: {"application":"otaupdate","last":{"version":"0.0.2","created":"2015-11-19T14:03:34.027Z","protocol":"http:","host":"192.168.30.134","path":"/firmwares/564dd6b6cc2a19680ca603f0/download"}}
Version 0.0.2
Host 192.168.30.134
Path /firmwares/564dd6b6cc2a19680ca603f0/download
Protocol http:
FOTA Client: Preparing to get firmware
Firmware client: Connect to 192.168.30.134:80
Firmware client: Connected
system_upgrade_start
upgrade_connect
upgrade_connect_cb
GET /firmwares/564dd6b6cc2a19680ca603f0/download HTTP/1.1
Host: 192.168.30.134
Connection: keep-alive
Cache-Control: no-cache
User-Agent: ESP8266
Accept: */*
Content-Type: application/json
HEAD /firmwares/564dd6b6cc2a19680ca603f0/download HTTP/1.1
Host: 192.168.30.134
Connection: close
Cache-Control: no-cache
User-Agent: ESP8266
Accept: */*
Content-Type: application/json
Firmware client: Disconnect
upgrade_check
Firmware upgrade fail
On the server side,
GET /api/otaupdate/versions/image2 200 4.599 ms - 188
HEAD /firmwares/564dd6b6cc2a19680ca603f0/download - - ms - -
So, somehow, the GET request for /firmwares/564dd6b6cc2a19680ca603f0/download is never received but the HEAD request is. Any ideas why this is the case?
Thank you for the awesome library!
Unfortunately, I haven't managed to get fota to work with the ubisen server that is running locally and the fota module from this repo. On the ESP side:
On the server side,
So, somehow, the GET request for /firmwares/564dd6b6cc2a19680ca603f0/download is never received but the HEAD request is. Any ideas why this is the case?