{"action":"closed","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/1177","repository_url":"https://api.github.com/repos/esp8266/Arduino","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/1177/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/1177/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/1177/events","html_url":"https://github.com/esp8266/Arduino/issues/1177","id":121079265,"number":1177,"title":"HTTP OTA (ESP8266httpUpdate)","user":{"login":"ikin77","id":12951016,"avatar_url":"https://avatars.githubusercontent.com/u/12951016?v=3","gravatar_id":"","url":"https://api.github.com/users/ikin77","html_url":"https://github.com/ikin77","followers_url":"https://api.github.com/users/ikin77/followers","following_url":"https://api.github.com/users/ikin77/following{/other_user}","gists_url":"https://api.github.com/users/ikin77/gists{/gist_id}","starred_url":"https://api.github.com/users/ikin77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikin77/subscriptions","organizations_url":"https://api.github.com/users/ikin77/orgs","repos_url":"https://api.github.com/users/ikin77/repos","events_url":"https://api.github.com/users/ikin77/events{/privacy}","received_events_url":"https://api.github.com/users/ikin77/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/esp8266/Arduino/labels/component:%20libraries","name":"component: libraries","color":"c7def8"},{"url":"https://api.github.com/repos/esp8266/Arduino/labels/type:%20troubleshooting","name":"type: troubleshooting","color":"bfdadc"}],"state":"closed","locked":false,"assignee":{"login":"Links2004","id":974709,"avatar_url":"https://avatars.githubusercontent.com/u/974709?v=3","gravatar_id":"","url":"https://api.github.com/users/Links2004","html_url":"https://github.com/Links2004","followers_url":"https://api.github.com/users/Links2004/followers","following_url":"https://api.github.com/users/Links2004/following{/other_user}","gists_url":"https://api.github.com/users/Links2004/gists{/gist_id}","starred_url":"https://api.github.com/users/Links2004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Links2004/subscriptions","organizations_url":"https://api.github.com/users/Links2004/orgs","repos_url":"https://api.github.com/users/Links2004/repos","events_url":"https://api.github.com/users/Links2004/events{/privacy}","received_events_url":"https://api.github.com/users/Links2004/received_events","type":"User","site_admin":false},"milestone":null,"comments":58,"created_at":"2015-12-08T19:21:36Z","updated_at":"2016-02-29T22:10:45Z","closed_at":"2016-02-29T22:10:45Z","body":"I'm trying to add HTTP OTA to one of my projects. First, I'm using the sample sketch, just changing SSID & password.\r\n\r\nI  can see in my Apache access.log that the new sketch is being requested from the ESP8266, with HTTP 200 code (all OK).\r\n\r\nThe problem is that OTA is not being performed. If I active debug messages from ESP8266httpUpdate library, I can see the following at Serial:\r\n\r\n[httpUpdate] Header read fin.\r\n[httpUpdate] Server header:\r\n[httpUpdate]  - code: 200\r\n[httpUpdate]  - len: 265920\r\n[httpUpdate] ESP8266 info:\r\n[httpUpdate]  - free Space: 172032\r\n[httpUpdate]  - current Sketch Size: 265916\r\n[httpUpdate] FreeSketchSpace to low (172032) needed: 265920\r\n\r\nSeems that new sketch it's to big. But new sketch is really simple: the same OTA example provided with the library. \r\n\r\nI've compiled the sketch with \"Generic ESP8266 Board\". If I try to compile it with \"NodeMCU 1.0 (ESP-12EModule) \" I can upload it with Serial port to the ESP8266, but the module can't connect to the router with that option selected.\r\n\r\nWhat might be going on? \r\n\r\nThanks in advance and best regards!!!"}}