ESP8266 Developer Zone The Official ESP8266 Forum 2016-05-13T00:48:25+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1408 2016-05-13T00:48:25+08:00 2016-05-13T00:48:25+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1408&p=6868#p6868 <![CDATA[Re: FOTA failure: No GET request at webserver]]>
Did you get any further results? Did you manage to send/receive the upgrade correctly? I'm having the same issue as you did and I didn't find a solution yet.

Folks at Espressif, did you find a solution for @rith87's issue?

Thank you in advance!

Statistics: Posted by lagrota — Fri May 13, 2016 12:48 am


]]>
2016-04-18T23:06:20+08:00 2016-04-18T23:06:20+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1408&p=6520#p6520 <![CDATA[Re: FOTA failure: No GET request at webserver]]> Where you able to solve this issue or to figure out what caused the webserver to send a 400 response?

Statistics: Posted by aforino — Mon Apr 18, 2016 11:06 pm


]]>
2015-11-23T21:25:01+08:00 2015-11-23T21:25:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1408&p=4728#p4728 <![CDATA[Re: FOTA failure: No GET request at webserver]]> Statistics: Posted by Guest — Mon Nov 23, 2015 9:25 pm


]]>
2015-11-23T17:27:34+08:00 2015-11-23T17:27:34+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1408&p=4721#p4721 <![CDATA[Re: FOTA failure: No GET request at webserver]]>
After you sent this HEAD, what is the response from your server ?

Statistics: Posted by ESP_Faye — Mon Nov 23, 2015 5:27 pm


]]>
2015-11-21T09:28:49+08:00 2015-11-21T09:28:49+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1408&p=4696#p4696 <![CDATA[Re: FOTA failure: No GET request at webserver]]>

Code:

HEAD /firmwares/564de3b81fce1d320de52ffd/download HTTP/1.1
Host: 192.168.0.16
Connection: close
Cache-Control: no-cache
User-Agent: ESP8266
Accept: */*
Content-Type: application/json

Statistics: Posted by Guest — Sat Nov 21, 2015 9:28 am


]]>
2015-11-20T15:09:38+08:00 2015-11-20T15:09:38+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1408&p=4686#p4686 <![CDATA[Re: FOTA failure: No GET request at webserver]]>
The "GET" here is just a UART output log, at that time, ESP8266 did not send the GET request, but send the HEAD request instead.

Code:

GET /firmwares/564de3b81fce1d320de52ffd/download HTTP/1.1
Host: 192.168.0.16
Connection: keep-alive
Cache-Control: no-cache
User-Agent: ESP8266
Accept: */*
Content-Type: application/json


Sorry that may lead to misunderstanding.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Fri Nov 20, 2015 3:09 pm


]]>
2015-11-19T23:10:41+08:00 2015-11-19T23:10:41+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1408&p=4668#p4668 <![CDATA[FOTA failure: No GET request at webserver]]>
I'm doing fota using https://github.com/nqd/esp8266-dev but the GET request from the system_upgrade_start() function is not being seen at my webserver. Here's the evidence:

On the ESP side:

Code:

FOTA client: Connect to ip 192.168.0.16: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:59:04.090Z","protocol":"http:","host":"192.168.0.16","path":"/firmwares/564de3b81fce1d320de52ffd/download"}}
   Version 0.0.2
   Host 192.168.0.16
   Path /firmwares/564de3b81fce1d320de52ffd/download
   Protocol http:
FOTA Client: Preparing to get firmware
Firmware client: Connect to 192.168.0.16:80
Firmware client: Connected
system_upgrade_start
upgrade_connect
upgrade_connect_cb
GET /firmwares/564de3b81fce1d320de52ffd/download HTTP/1.1
Host: 192.168.0.16
Connection: keep-alive
Cache-Control: no-cache
User-Agent: ESP8266
Accept: */*
Content-Type: application/json

HEAD /firmwares/564de3b81fce1d320de52ffd/download HTTP/1.1
Host: 192.168.0.16
Connection: close
Cache-Control: no-cache
User-Agent: ESP8266
Accept: */*
Content-Type: application/json


On the webserver side:

Code:

GET /api/otaupdate/versions/image2 200 4.064 ms - 186
HEAD /firmwares/564de3b81fce1d320de52ffd/download - - ms - -


So, the HEAD request is received fine but not the GET request. Can the folks at Espressif explain why this is the case?

PS: I've also asked this to the esp8266-dev author but I'm not sure which party will be able to assist..

Statistics: Posted by Guest — Thu Nov 19, 2015 11:10 pm


]]>