Skip to content

IDE not compiling if Board manager URL is 404 #2575

Closed as not planned
Closed as not planned
@CWCarlson123

Description

@CWCarlson123

Describe the problem

If the URL (or any path of the URL) in preferences menu for additional boards returns a 404 causes the IDE to not compile. This is indicated by a notification of downloading the package that does not progress.

To reproduce

  1. open a sketch.
  2. Enter a broken URL into the additional board managers URL in the preferences: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json (was broken when I tried this).
  3. attempts to download package.
  4. try to compile

IDE will not compile, it will just sit there with the notification that it is compiling, but never completes.

Expected behavior

Index download process completes even when an index URL returns an error HTTP response status code.

Compilation does not hang even if irrelevant index download fails.

Arduino IDE version

2.3.3

Operating system

Windows

Operating system version

Windows 11

Additional context

No response

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

Labels

conclusion: duplicateHas already been submittedtopic: codeRelated to content of the project itselftype: 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