OTA Uploading fail problem
Uploading using OTA fails with error "15:27:44 [ERROR]: No response from device
Failed uploading: uploading error: exit status 1"
The device appears in the IDE Ports list as a URL and can be selected. It is also visible in the router management app with the same URL
Things I have tried:
- ESP12 (4 devices), D1 Mini. Each one uploads an OTA basic sketch (eg blink) via USB and runs as expected and shows up in the IDE and the router manager. But the failure on a subsequent OTA upload is the same.
- Reset after USB upload.
- Checked the device configuration and there is ample memory in every case (OTA~1019KB).
- Disabled firewall.
IDE 2.3.6., ESP8266 3.1.2, ESP8266 tools 3.1.0, python 3.7.2, ESP8266WiFi 1.0, ESP8266mDNS 1.2, Arduino OTA 1.2
Are there any debug settings that give more information about the upload?
Any suggestions much appreciated.
1 Reply
How can the ArduinoOTA library be version 1.0 when the latest one included in the 3.1.2 Arduino-ESP8266 is "1.0"?
https://github.com/esp8266/Arduino/blob/3.1.2/libraries/ArduinoOTA/library.properties
When you just upload the OTA example sketch
https://github.com/esp8266/Arduino/blob/3.1.2/libraries/ArduinoOTA/examples/BasicOTA/BasicOTA.ino
(while adapting WiFi SSID and password of course), does it also fail to upload?