alezan
September 30, 2022, 2:35pm
1
Hello
The OTA upload works fine. The device re boot. But the process continues to run on IDE. And I have to force to stop it.
Regards
Hi @alezan . Thanks for your report.
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/1770
- https://github.com/arduino/arduino-ide/issues/1641
- https://github.com/arduino/arduino-ide/issues/1510
- 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
### 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.
You are welcome. I hope this problem will be resolved. I was affected by it for a day, then it just completely stopped happening for no discernable reason and has never come back since then. So maybe you will get lucky and find it goes away even before the developers are able to provide a true fix.
Arduino 2.01, latest Version
Windows 10
ESP8266 Adafruit Huzzah Breakout
#include <ArduinoOTA.h>
Same issue as reported by alezan
but The Output view freezes at "Uploading........................" and the status window shows "uploading" forever. I have to restart IDE to reset the state.
All works fine with Arduino 1.8
Issue checklist
[X] I searched for previous reports in the issue tracker
[X] I verified the problem still occurs when using the latest nightly build
[X] My report contains all necessary details
fuxbau
November 15, 2022, 9:14pm
6
I have the same problem.
Arduino 2.01, Board and Libraries - latest Version
Win11 22H2
"DOIT ESP32 DevKit V1" (Espressif)
#include <ArduinoOTA.h>
also the same issue here on 2.02 : )
same with 2.03 nightly 20221125 ...
alezan
November 26, 2022, 8:28am
10
With 2.0.2 the connection is released after around 20mn
A great workaround would be to cancel the upload. (I missed it on arduino 1 so it isn't really a workarond)
Hi @wgbeckmann
Do you mean the IDE should automatically cancel the upload, or that the user should do it manually?
Either would be helpful until it can be resolved : )
The feature request for allowing the user to cancel an upload process is tracked by the Arduino IDE developers here:
opened 07:03PM - 16 Jul 22 UTC
type: enhancement
topic: code
### Describe the request
Provide a way for the user to terminate the compilat… ion and upload processes.
### Describe the current behavior
In some cases, it is clear to the user that a compile or upload process is going to fail. Currently, they must wait through what is sometimes a lengthy process until it fails before they can make another attempt.
This is especially prevalent for uploads due to the common design of upload tools (e.g., [**AVRDUDE**](https://github.com/avrdudes/avrdude), [**rp2040load**](https://github.com/arduino/rp2040tools)) to pointlessly retry a failed upload over and over again, even though if the process failed the first time, it is certain to fail on the retries as well.
### Arduino IDE version
d6a4b0f
### Operating system
- Windows
- Linux
### Operating system version
- Windows 10
- Linux Manjaro
### Additional context
Additional requests:
- https://github.com/arduino/arduino-ide/issues/1292
- https://github.com/arduino/Arduino/issues/10116
- https://github.com/arduino/Arduino/issues/8044
- https://github.com/arduino/Arduino/issues/5928
- https://github.com/arduino/Arduino/issues/3568
- https://forum.arduino.cc/t/rapid-reupload-feature/1057601/4
### Issue checklist
- [X] I searched for previous requests in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the feature was still missing when using the latest [nightly build](https://github.com/arduino/arduino-ide#nightly-builds)
- [X] My request 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.
Dernebo
February 23, 2023, 6:30pm
16
It seems to work in the Nightly build, so I guess it is close to be fixed in the next release.
meslin
March 4, 2023, 10:34pm
17
Sorry Dernebo, it's still present in version 2.0.4
Yes., Issue still happening in 2.0.4
Yes @meslin I am sorry to say it does. I Was just glad to see that it worked for me but now t seems to me that it is a bit intermittent. Sometimes the upload message disappears and most of the time it dont.
I have solved it using a solution that @Juraj mentioned to me in another post. Got it to work, and thats the way I am handling the upload at the moment.
https://forum.arduino.cc/t/set-static-address-when-uploading-via-ota/1088617/2?u=dernebo
Still waiting for the upload-thing in this thread to be fully fixed.
system
Closed
September 2, 2023, 9:29am
21
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.