Skip to content

IDE remains in uploading state after completion of upload to network port #1356

Open
@kittaakos

Description

@kittaakos

Describe the problem

Originally reported by @per1234:

🐛 When uploading 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

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:

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

image

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.

Related

Other reports

Workaround

  1. Select File > Quit from the Arduino IDE menus.
  2. Restart Arduino IDE.

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions