-
-
Notifications
You must be signed in to change notification settings - Fork 456
Open
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftopic: package-managementRelated to the packaging and managing of the platform/librariesRelated to the packaging and managing of the platform/librariestype: enhancementProposed improvementProposed improvement
Description
Describe the request
If a previous attempt at downloading a file failed, attempt to resume the download on the subsequent attempt.
Describe the current behavior
When installing a boards platform, and even some libraries, large files are downloaded. These downloads may occasionally fail due to a transient network outage.
Currently, the download of the file starts all over again when the user makes another attempt at the installation.
This is inefficient and wasteful of bandwidth. In cases where the previous download attempt failed due to an externally imposed timeout, it will result in the download only failing once again.
Arduino CLI version
Original report
Not specified
Last verified with
Operating system
Windows
Operating system version
Windows 11
Additional context
Related
- Platform installation fails: "PROTOCOL_ERROR; received from peer" #3008
- Platform installation fails: "PROTOCOL_ERROR" #2973
- https://forum.arduino.cc/t/cannot-install-stm32-nor-esp32-boards-to-arduino-ide-1-8-19/1405156
- https://forum.arduino.cc/t/espressif-board-manager-3-3-0-fails/1405287
- https://github.com/orgs/community/discussions/169381
- https://github.com/orgs/community/discussions/169250
- https://github.com/orgs/community/discussions/169008
Workaround
Manually download the file using a download manager that supports resuming downloads.
per1234
Metadata
Metadata
Assignees
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftopic: package-managementRelated to the packaging and managing of the platform/librariesRelated to the packaging and managing of the platform/librariestype: enhancementProposed improvementProposed improvement