My computer cant find "https://downloads.arduino.cc/packages/package_index.json"

Hi, Paul. The URL I’ve added for additional boards is:

https://raw.githubusercontent.com/spark … index.json

That looks correct to me and this URL does serve up a JSON file.

I just ran the Arduino IDE from the command line on the hunch that there might be something useful being written to stdout. Trying to install the Apollo 3 boards resulted in this:

Error downloading https://static.sparkfun.com/large/gcc-a … ac.tar.bz2

Caused by: java.io.IOException: Received invalid http status code from server: 403

at cc.arduino.utils.network.FileDownloader.openConnectionAndFillTheFile(FileDownloader.java:222)

at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:176)

at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:125)

at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:143)

… 5 more

And to confirm from another Linux machine I tried downloading with wget and see this:

$ wget https://static.sparkfun.com/large/gcc-a … ac.tar.bz2

–2023-05-16 07:21:50-- https://static.sparkfun.com/large/gcc-a … ac.tar.bz2

Resolving static.sparkfun.com (static.sparkfun.com)… 52.72.251.193, 34.206.128.130, 2600:1f18:41d4:e9fb:8dfe:a279:409b:e170, …

Connecting to static.sparkfun.com (static.sparkfun.com)|52.72.251.193|:443… connected.

HTTP request sent, awaiting response… 403 Forbidden

2023-05-16 07:21:51 ERROR 403: Forbidden.

To recap:

  • Able to download the file:

  • Safari and Brave on MacOS

  • Firefox and Chromium on Linux

  • Unable to download because the webserver gives a 403 Forbidden:

  • Arduino IDE on MacOS

  • wget on Linux

Could there be some misconfiguration of that webserver that isn’t always serving the file when it should?

Thanks,

-Matt