I recently got the ESP32-WROOM-32 board, I'm now trying to use the OTA protocol, but I have a problem: every time I upload a sketch, it gets stuck at the end of the uploading screen even though it uploaded it correctly, so I have to restart the Arduino IDE every time. I tried using the 1.8.19 Arduino IDE, and it works well, how can I fix the problem with the 2.0? I need it to store mi sketches in the cloud.
Hi @tizio7721 . This bug is being tracked by the Arduino IDE developers here:
opened 11:40AM - 26 Aug 22 UTC
type: imperfection
### Describe the problem
Originally reported by @per1234:
:bug: When uploa… ding to a board over a network port, the Arduino IDE UI continues to indicate an upload is in progress even after the process has completed successfully.
### To reproduce
#### Equipment
- [MKR1000](https://docs.arduino.cc/hardware/mkr-1000-wifi)
#### Steps
Follow the instructions to set up the board and do an OTA upload here: https://docs.arduino.cc/tutorials/mkr-1000-wifi/wifi-101-ota
The **Output** view shows that the process completed successfully:
```text
Connecting to board ... done
Uploading sketch ... done
Flashing sketch ... done
Sketch uploaded successfully
```
The board is running the sketch that was uploaded.
Yet the IDE UI remains permanently in the uploading state:
- "Upload" button has the gold color
- "**Uploading...**" notification with progress bar

### Expected behavior
IDE recognizes completion of upload process.
### Arduino IDE version
2.0.0-rc9.2-snapshot-9e2b73a
### Operating system
Linux
### Operating system version
Ubuntu 20.04
### Additional context
I also reproduced it using a slightly older version of the Arduino IDE 2.0.0-rc9.2-snapshot-0b33b51, which indicates it was not introduced by any of the commits after that.
---
While I was in the bisection stage of the investigation, the issue stopped happening even though it had occurred 100% consistently prior to that. So I was not able to bisect the introduction of the issue, check whether it also occurs with ESP32 boards, nor determine whether it also occurs when using Arduino CLI directly.
#### Other reports
- https://github.com/arduino/arduino-ide/issues/1356#issuecomment-1256842794
- https://github.com/arduino/arduino-ide/issues/1356#issuecomment-1264990273
- https://github.com/arduino/arduino-ide/issues/1356#issuecomment-1272610016
- https://github.com/arduino/arduino-ide/issues/1356#issuecomment-1276611306
- https://github.com/arduino/arduino-ide/issues/1356#issuecomment-1287536050
- https://github.com/arduino/arduino-ide/issues/1356#issuecomment-1298219359
- https://github.com/arduino/arduino-ide/issues/1356#issuecomment-1321848204
- https://github.com/arduino/arduino-ide/issues/1356#issuecomment-1334662078
- https://github.com/arduino/arduino-ide/issues/1356#issuecomment-1343015278
- https://github.com/arduino/arduino-ide/issues/1356#issuecomment-1345362515
- https://github.com/arduino/arduino-ide/issues/1356#issuecomment-1345374464
- https://github.com/arduino/arduino-ide/issues/1871
- https://github.com/arduino/arduino-ide/issues/1770
- https://github.com/arduino/arduino-ide/issues/1641
- https://github.com/arduino/arduino-ide/issues/1510
- https://github.com/arduino/arduino-ide/issues/1864
- https://github.com/esp8266/Arduino/issues/8684
- https://forum.arduino.cc/t/when-uploading-over-the-network-uploading-progress-window-does-not-go-away/1023158
- https://forum.arduino.cc/t/upload-stall-on-ota/1035843/1
- https://forum.arduino.cc/t/upload-stall-on-ota/1035843/3
- https://forum.arduino.cc/t/ota-upload-doesnt-stop/1037126/1
- https://forum.arduino.cc/t/ota-upload-doesnt-stop/1037126/5
- https://forum.arduino.cc/t/ota-upload-doesnt-stop/1037126/6
- https://forum.arduino.cc/t/ota-upload-doesnt-stop/1037126/7
- https://forum.arduino.cc/t/ota-upload-doesnt-stop/1037126/8
- https://forum.arduino.cc/t/ota-upload-doesnt-stop/1037126/9
- https://forum.arduino.cc/t/ota-upload-doesnt-stop/1037126/10
- https://forum.arduino.cc/t/bsdthread-register-error-when-try-to-use-adruinoota-update/1090730/10
- https://forum.arduino.cc/t/ota-outputs-not-displaying-anything-on-serial-monitor/1093690
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://github.com/arduino/arduino-ide#nightly-builds)
- [X] My report contains all necessary details
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.
The workaround to restore Arduino IDE to a functional state after it gets stuck in the upload:
Select File > Quit from the Arduino IDE menus.
Restart Arduino IDE.
system
Closed
August 28, 2023, 11:07am
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.