{"action":"created","issue":{"url":"https://api.github.com/repos/nqd/esp8266-dev/issues/11","labels_url":"https://api.github.com/repos/nqd/esp8266-dev/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/nqd/esp8266-dev/issues/11/comments","events_url":"https://api.github.com/repos/nqd/esp8266-dev/issues/11/events","html_url":"https://github.com/nqd/esp8266-dev/issues/11","id":117829020,"number":11,"title":"OTA failure: GET request ignored","user":{"login":"rith87","id":749109,"avatar_url":"https://avatars.githubusercontent.com/u/749109?v=3","gravatar_id":"","url":"https://api.github.com/users/rith87","html_url":"https://github.com/rith87","followers_url":"https://api.github.com/users/rith87/followers","following_url":"https://api.github.com/users/rith87/following{/other_user}","gists_url":"https://api.github.com/users/rith87/gists{/gist_id}","starred_url":"https://api.github.com/users/rith87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rith87/subscriptions","organizations_url":"https://api.github.com/users/rith87/orgs","repos_url":"https://api.github.com/users/rith87/repos","events_url":"https://api.github.com/users/rith87/events{/privacy}","received_events_url":"https://api.github.com/users/rith87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-19T14:48:36Z","updated_at":"2015-11-20T07:43:15Z","closed_at":null,"body":"Thank you for the awesome library!\r\n\r\nUnfortunately, 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:\r\n\r\n```\r\nFOTA client: Connect to ip 192.168.30.134:80\r\nFOTA Client: Sent request\r\nFOTA Client: Request timeout, close connection\r\nFOTA Client: Disconnect\r\nFinal 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\"}}\r\n\tVersion 0.0.2\r\n\tHost 192.168.30.134\r\n\tPath /firmwares/564dd6b6cc2a19680ca603f0/download\r\n\tProtocol http:\r\nFOTA Client: Preparing to get firmware\r\nFirmware client: Connect to 192.168.30.134:80\r\nFirmware client: Connected\r\nsystem_upgrade_start\r\nupgrade_connect\r\nupgrade_connect_cb\r\nGET /firmwares/564dd6b6cc2a19680ca603f0/download HTTP/1.1\r\nHost: 192.168.30.134\r\nConnection: keep-alive\r\nCache-Control: no-cache\r\nUser-Agent: ESP8266\r\nAccept: */*\r\nContent-Type: application/json\r\n\r\nHEAD /firmwares/564dd6b6cc2a19680ca603f0/download HTTP/1.1\r\nHost: 192.168.30.134\r\nConnection: close\r\nCache-Control: no-cache\r\nUser-Agent: ESP8266\r\nAccept: */*\r\nContent-Type: application/json\r\n\r\nFirmware client: Disconnect\r\nupgrade_check\r\nFirmware upgrade fail\r\n```\r\n\r\nOn the server side,\r\n\r\n```\r\nGET /api/otaupdate/versions/image2 200 4.599 ms - 188\r\nHEAD /firmwares/564dd6b6cc2a19680ca603f0/download - - ms - -\r\n```\r\n\r\nSo, somehow, the GET request for /firmwares/564dd6b6cc2a19680ca603f0/download is never received but the HEAD request is. Any ideas why this is the case?"},"comment":{"url":"https://api.github.com/repos/nqd/esp8266-dev/issues/comments/158313106","html_url":"https://github.com/nqd/esp8266-dev/issues/11#issuecomment-158313106","issue_url":"https://api.github.com/repos/nqd/esp8266-dev/issues/11","id":158313106,"user":{"login":"nqd","id":1982689,"avatar_url":"https://avatars.githubusercontent.com/u/1982689?v=3","gravatar_id":"","url":"https://api.github.com/users/nqd","html_url":"https://github.com/nqd","followers_url":"https://api.github.com/users/nqd/followers","following_url":"https://api.github.com/users/nqd/following{/other_user}","gists_url":"https://api.github.com/users/nqd/gists{/gist_id}","starred_url":"https://api.github.com/users/nqd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nqd/subscriptions","organizations_url":"https://api.github.com/users/nqd/orgs","repos_url":"https://api.github.com/users/nqd/repos","events_url":"https://api.github.com/users/nqd/events{/privacy}","received_events_url":"https://api.github.com/users/nqd/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T07:43:15Z","updated_at":"2015-11-20T07:43:15Z","body":"Yes, the http://103.253.146.183/ is down, my digitalocean run out of credit ;).\r\n\r\nIts quite strange that ESP request GET (which is fail) then HEAD. I will need to look into the problem at this weekend. Of course if you find any problem, plz submit solution."}}