Skip to content

OTA Updates from Platform IO VS Code no longer working #3547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
justoke opened this issue Dec 8, 2019 · 2 comments
Closed

OTA Updates from Platform IO VS Code no longer working #3547

justoke opened this issue Dec 8, 2019 · 2 comments

Comments

@justoke
Copy link

justoke commented Dec 8, 2019

Hardware:

Board: ESP32 Dev Module
Core Installation version: Espressif 32 1.11.1
IDE name: Platform.io Core 4.1.0 Home 3.0.1
Upload Speed: OTA
Computer OS: Windows 10 64-Bit

Issue
OTA Updates no longer work for me. I have been using OTA updates for months now and even for the most basic sample it no longer works. The update begins but is interrupted by connection failure on the WiFi.
https://github.com/espressif/arduino-esp32/blob/master/libraries/ArduinoOTA/examples/BasicOTA/BasicOTA.ino

Platform IO Terminal Output
19:51:19 [DEBUG]: Options: {'timeout': 10, 'esp_ip': '192.168.1.82', 'host_port': 46156, 'image': '.pio\build\esp32dev\firmware.bin', 'host_ip': '0.0.0.0', 'auth': '', 'esp_port': 3232, 'spiffs': False, 'debug': True, 'progress': True}
19:30:19 [INFO]: Starting on 0.0.0.0:46156
19:30:19 [INFO]: Upload size: 745824
Sending invitation to 192.168.1.82
19:30:19 [INFO]: Waiting for device...
19:30:29 [ERROR]: No response from device
*** [upload] Error 1

Serial Terminal on ESP32
2019/12/08 19:30:19: Start updating sketch
Progress: 0%
2019/12/08 19:30:38: [E][WiFiClient.cpp:258] connect(): socket error on fd 57, errno: 113, "Software caused connection abort"
Error[2]: Connect Failed
[E][Updater.cpp:264] end(): premature end: res:0, pos:0/745824
[E][ArduinoOTA.cpp:344] _runUpdate(): Update ERROR: Aborted

Error indicates that WiFi connection is interrupted. I have a number of access points so tried using different ones, but the same behavior. Restarted my PC, Cleaned project, rebuilt. Tried a number of ESP32 modules just to be sure it wasn't specific module.

@justoke
Copy link
Author

justoke commented Dec 9, 2019

Seems related to this issue #3522

@justoke justoke closed this as completed Dec 9, 2019
@justoke
Copy link
Author

justoke commented Dec 9, 2019

Windows Firewall was blocking OTA updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant